summaryrefslogtreecommitdiffstats
path: root/src/common.inc
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2009-01-27 17:30:24 +0000
committerPascal Rigaux <pixel@mandriva.com>2009-01-27 17:30:24 +0000
commitf34154d296b845edd3d780f13164de1337dc4fe2 (patch)
tree9d86bbca981700f8ea1b665f781c05bd8b2f39ec /src/common.inc
parentdb73b2dc0cb234aacb8dc976d2530ba66ad8821d (diff)
downloadbootloader-theme-f34154d296b845edd3d780f13164de1337dc4fe2.tar
bootloader-theme-f34154d296b845edd3d780f13164de1337dc4fe2.tar.gz
bootloader-theme-f34154d296b845edd3d780f13164de1337dc4fe2.tar.bz2
bootloader-theme-f34154d296b845edd3d780f13164de1337dc4fe2.tar.xz
bootloader-theme-f34154d296b845edd3d780f13164de1337dc4fe2.zip
adapt "dud" to mandriva stage1 para (updatemodules)
Diffstat (limited to 'src/common.inc')
-rw-r--r--src/common.inc69
1 files changed, 0 insertions, 69 deletions
diff --git a/src/common.inc b/src/common.inc
index 2ff9e9f..a32d52e 100644
--- a/src/common.inc
+++ b/src/common.inc
@@ -419,21 +419,9 @@
} if
xmenu.dud {
- xmenu.dud .xm_current get .dud_url eq {
- input.edit.dud_url 0 get dup "" ne {
- "dud=%s " bc.cmd dup length add sprintf
- } { pop } ifelse
- } {
- xmenu.dud .xm_current get .dud_file eq {
- input.edit.dud_file 0 get dup "" ne {
- "driverupdate=%s " bc.cmd dup length add sprintf
- } { pop } ifelse
- } {
dud.options xmenu.dud .xm_current get get dup "" ne {
"%s " bc.cmd dup length add sprintf
} { pop } ifelse
- } ifelse
- } ifelse
} if
xmenu.profile {
@@ -462,60 +450,6 @@
} loop
} forall free
- bc.cmd "driverupdate" bootopt.find dup .undef ne {
- % exclude 'driverupdate=0 and driverupdate=1'
- "driverupdate=" length get
- dup '0' ne exch '1' ne and {
-
- /bc.tmp bc.cmd "driverupdate" bootopt.remove def
- bc.tmp .undef ne {
- /bc.tmp bc.tmp "driverupdate=" length add ',' split bc.tmp free def
- /bc.tmp2 cmdlinelength string def
-
- bc.tmp2 "initrd=" strcpy pop
-
- bc.tmp length 0 gt {
- % add '+' to first arg unless it starts with '+' or '-'
- bc.tmp 0 get 0 get
- dup '-' eq { % remove '-'
- bc.tmp 0 get dup 1 add strdup exch free
- bc.tmp exch 0 exch put
- pop '+'
- } if
- '+' ne { % add '+'
- bc.tmp 0 get length 1 add string "+" strcat bc.tmp 0 get strcat
- bc.tmp 0 get free bc.tmp exch 0 exch put
- } if
-
- bc.tmp length 1 sub -1 0 {
- bc.tmp exch get
- bc.tmp2 exch strcat "," strcat pop
- } for
- } if
-
- bc.tmp dup { free } forall free
-
- % last 'initrd' option
- /bc.tmp .undef def
- {
- bc.cmd "initrd" bootopt.remove dup .undef ne {
- bc.tmp free /bc.tmp exch def
- } {
- pop exit
- } ifelse
- } loop
-
- % re-add new 'initrd' option
- bc.tmp {
- bc.tmp2 bc.tmp "initrd=" length add strcat pop
- bc.tmp free
- bc.cmd bc.tmp2 strcat " " strcat pop
- } if
- } if
-
- } if
- } { pop } ifelse
-
syslinux {
% find out initrd sizes for kernel loading progress bar
bc.cmd "initrd" bootopt.find dup .undef ne {
@@ -1586,9 +1520,6 @@ ptheme {
/keymap.default "keymap" "" gfxconfig.set.str
/dud.default "dud" "" gfxconfig.set.str
-/dud.file "dud.file" "" gfxconfig.set.str
-/dud.url "dud.url" "" gfxconfig.set.str
-/dud.url.name "dud.url.name" "" gfxconfig.set.str
/serial.line0 "serial.line0" [ ] gfxconfig.set.array_str
/serial.line1 "serial.line1" [ ] gfxconfig.set.array_str