summaryrefslogtreecommitdiff
path: root/configs/releng/syslinux.dual/archiso.cfg
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-12-02 00:44:02 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-12-02 14:24:12 -0300
commitd7966acd156547b7c236156e4afca0f3036362b0 (patch)
treecd1f311a35a857098b345359d4d88c7aee75ddb9 /configs/releng/syslinux.dual/archiso.cfg
parent3df0be6a228745e9ea3102ede4fb865089d73b15 (diff)
downloadarchiso32-d7966acd156547b7c236156e4afca0f3036362b0.tar.xz
[configs/releng] Use whichsys.c32 to determine bootloader type
* In that way we can have two differents syslinux menus depending if booting from PXE or from non-PXE. Some file renames are made to keep things ordered: archiso_pxe* all things related to PXELINUX archiso_sys* all things related to SYSLINUX *_inc.cfg only contains INCLUDE directive * By default NBD PXE option is selected for booting on timeout. * As (NDB/NFS/HTTP/FTP) server is used the same IP from pxeserver. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'configs/releng/syslinux.dual/archiso.cfg')
-rw-r--r--configs/releng/syslinux.dual/archiso.cfg17
1 files changed, 8 insertions, 9 deletions
diff --git a/configs/releng/syslinux.dual/archiso.cfg b/configs/releng/syslinux.dual/archiso.cfg
index 9994e43..d1817af 100644
--- a/configs/releng/syslinux.dual/archiso.cfg
+++ b/configs/releng/syslinux.dual/archiso.cfg
@@ -1,12 +1,11 @@
-DEFAULT choose
-PROMPT 0
+DEFAULT select
-LABEL choose
-KERNEL boot/syslinux/ifcpu64.c32
-APPEND have64 -- nohave64
+LABEL select
+COM32 boot/syslinux/whichsys.c32
+APPEND -pxe- pxe -sys- sys -iso- sys
-LABEL have64
-CONFIG boot/syslinux/archiso_both.cfg
+LABEL pxe
+CONFIG boot/syslinux/archiso_pxe_choose.cfg
-LABEL nohave64
-CONFIG boot/syslinux/archiso_32only.cfg
+LABEL sys
+CONFIG boot/syslinux/archiso_sys_choose.cfg