~ubuntu-branches/ubuntu/karmic/gfxboot-theme-ubuntu/karmic

« back to all changes in this revision

Viewing changes to dia_fulloptions.inc

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2009-10-14 21:02:07 UTC
  • Revision ID: james.westby@ubuntu.com-20091014210207-tm1y1ulvf1vgloe7
Tags: 0.8.7
Add "nodmraid" as an option on the F6 menu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
/.fulloptions.noapic 2 def
13
13
/.fulloptions.nolapic 3 def
14
14
/.fulloptions.edd_on 4 def
15
 
/.fulloptions.free 5 def
 
15
/.fulloptions.nodmraid 5 def
 
16
/.fulloptions.free 6 def
16
17
 
17
18
% These strings are intentionally not translatable.
18
19
/txt_acpi_off "acpi=off" def
19
20
/txt_noapic "noapic" def
20
21
/txt_nolapic "nolapic" def
21
22
/txt_edd_on "edd=on" def
 
23
/txt_nodmraid "nodmraid" def
22
24
 
23
25
 
24
26
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
35
37
    /.fulloptions.noapic dec
36
38
    /.fulloptions.nolapic dec
37
39
    /.fulloptions.edd_on dec
 
40
    /.fulloptions.nodmraid dec
38
41
    /.fulloptions.free dec
39
42
    xmenu .xm_current .fulloptions.acpi_off put
40
43
  } {
43
46
 
44
47
  xmenu .xm_list [
45
48
    is_live not { /txt_expert_mode } if
46
 
    /txt_acpi_off /txt_noapic /txt_nolapic /txt_edd_on
 
49
    /txt_acpi_off /txt_noapic /txt_nolapic /txt_edd_on /txt_nodmraid
47
50
    /txt_option_free
48
51
  ] put
49
52
 
77
80
      over .fulloptions.noapic eq { pop "noapic" } if
78
81
      over .fulloptions.nolapic eq { pop "nolapic" } if
79
82
      over .fulloptions.edd_on eq { pop "edd=on" } if
 
83
      over .fulloptions.nodmraid eq { pop "nodmraid" } if
80
84
      over .fulloptions.free eq { pop "apt-setup/restricted=false apt-setup/multiverse=false" } if
81
85
      dup {
82
86
        % append new option string