summaryrefslogtreecommitdiffstats
path: root/src/common.inc
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2009-01-27 17:30:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2009-01-27 17:30:35 +0000
commit4ca721b1fe6022c985ab7b10d1bea36f657c28b3 (patch)
tree1274a22b2a5ecf0214849a79c6773af3dcf87581 /src/common.inc
parenta218dc40a68bfe95d2307d9d2d115fc46e8f3cd8 (diff)
downloadbootloader-theme-4ca721b1.tar
bootloader-theme-4ca721b1.tar.gz
bootloader-theme-4ca721b1.tar.bz2
bootloader-theme-4ca721b1.tar.xz
bootloader-theme-4ca721b1.zip
we do not handle multiple splash files (splashy)
only propose a limited number of framebuffer modes (note that "video" menu is only used for syslinux, not grub)
Diffstat (limited to 'src/common.inc')
-rw-r--r--src/common.inc45
1 files changed, 0 insertions, 45 deletions
diff --git a/src/common.inc b/src/common.inc
index cf6bc2e..adb0052 100644
--- a/src/common.inc
+++ b/src/common.inc
@@ -342,21 +342,6 @@
menu.texts menu.entry get "%s " bc.cmd sprintf
} ifelse
- syslinux {
- /splash_file 32 string def
-
- video.modes.list xmenu.video .xm_current get get
- dup .vm_mode get 0 ge {
- dup .vm_height get exch .vm_width get
- ",%04d%04d.spl" splash_file sprintf
- } { pop } ifelse
-
- % check whether splash file exists
- splash_file 1 add filesize .undef eq {
- splash_file 0 0 put % empty string
- } if
- } if
-
xmenu.kernelopts {
kernelopts.options xmenu.kernelopts .xm_current get get dup "" ne {
"%s " bc.cmd dup length add sprintf
@@ -367,41 +352,11 @@
cmdline.hidden {
cmdline.hidden "" ne {
- splash_file {
- /bc.tmp cmdline.hidden length splash_file length add string def
- cmdline.hidden "initrd=" bootopt.find dup .undef ne {
- skipnonspaces
- dup
- dup 0 get over 0 0 put
- splash_file cmdline.hidden "%s%s" bc.tmp sprintf
- 0 exch put
- "%s" bc.tmp dup length add sprintf
- } {
- pop
- bc.tmp cmdline.hidden strcpy pop
- } ifelse
-
- bc.tmp "%s " bc.cmd dup length add sprintf
-
- bc.tmp free /bc.tmp .undef def
- } {
cmdline.hidden "%s " bc.cmd dup length add sprintf
- } ifelse
} if
} if
- /splash_file xfree
-
syslinux {
- video.modes.list xmenu.video .xm_current get get .vm_mode get
-
- dup 0 ge {
- 0x200 add "vga=0x%x " bc.cmd dup length add sprintf
- } {
- -1 eq {
- "textmode=1 " bc.cmd dup length add sprintf
- } if
- } ifelse
config.lang {
config.lang "en_US" ne {