diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-06-08 11:51:56 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-06-08 11:51:56 +0000 |
commit | c962365315fb42b07df962941419310d7dcd5feb (patch) | |
tree | 0aa5aac8cf3dadb19bd3a3c1b0f82cc9624e83bd /common.inc | |
parent | 534f2f4437093bd78411126ef45de41fc6b93bf3 (diff) | |
download | bootloader-theme-c962365315fb42b07df962941419310d7dcd5feb.tar bootloader-theme-c962365315fb42b07df962941419310d7dcd5feb.tar.gz bootloader-theme-c962365315fb42b07df962941419310d7dcd5feb.tar.bz2 bootloader-theme-c962365315fb42b07df962941419310d7dcd5feb.tar.xz bootloader-theme-c962365315fb42b07df962941419310d7dcd5feb.zip |
re-sync after the big svn loss0.21
Diffstat (limited to 'common.inc')
-rw-r--r-- | common.inc | 51 |
1 files changed, 7 insertions, 44 deletions
@@ -60,19 +60,6 @@ % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - % -% Enough memory? -% -% ( ) ==> ( true|false ) -% -/enough_mem { - biosmem 4 20 shl lt - biosmem livecd.mem.check 20 shl ge or - syslinux not or -} def - - -% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -% % Check if there are boot directories for 32 & 64bit. % % Assumes 32bit to be in *i586* and 64bit in *x86_64*. @@ -389,6 +376,12 @@ } { pop } ifelse } if + xmenu.kernel_option { + kernel_option.list xmenu.kernel_option .xm_current get get dup "" ne { + "%s " bc.cmd dup length add sprintf + } { pop } ifelse + } if + xmenu.profile { profile.options xmenu.profile .xm_current get get dup "" ne { "%s " bc.cmd dup length add sprintf @@ -562,11 +555,6 @@ window.show syslinux { - enough_mem not livecd and { - - notimeout nomem_popup - - } { 32+64bit_source not { @@ -578,7 +566,6 @@ } if - } ifelse } if } def @@ -1041,7 +1028,7 @@ dup "linux" eq { pop txt_install return } if dup "failsafe" eq { pop txt_safe_install return } if } ifelse - dup "live" eq { pop "Mandriva One" return } if + dup "live" eq { pop txt_linux return } if dup "noacpi" eq { pop txt_noacpi_install return } if dup "noapic" eq { pop txt_noapic_install return } if dup "nolapic" eq { pop txt_nolapic_install return } if @@ -1187,7 +1174,6 @@ over exch 0 exch put 1 add } forall - tmp 2 0 put % only short locale name tmp dup setlang pop setkeymap } { pop @@ -1459,29 +1445,6 @@ % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -% Warn that we don't have enough memory. -% -% ( ) ==> ( ) -% -/nomem_popup { - window.dialog - - dup .title "Not enough memory" put - dup .text - livecd.mem.show - "Sorry, but Mandriva needs at least %dMB main memory." - dup length 32 add string dup 4 1 roll sprintf - put - dup .buttons [ - button.reboot button.default actReboot actNoClose or button.setaction - ] put - dup window.init - window.show - -} def - - -% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - % Show "power off" popup. % % ( ) ==> ( ) |