Преглед на файлове

Merge pull request #66 from antonym/refactor_menus

Simplifying exits on scripts
Antony Messerli преди 9 години
родител
ревизия
3821105516
променени са 19 файла, в които са добавени 13 реда и са изтрити 19 реда
  1. 1 1
      src/antergos.ipxe
  2. 1 1
      src/architect.ipxe
  3. 0 1
      src/archlinux.ipxe
  4. 1 1
      src/bsd.ipxe
  5. 0 1
      src/centos.ipxe
  6. 0 1
      src/coreos.ipxe
  7. 1 1
      src/debian.ipxe
  8. 0 1
      src/fedora.ipxe
  9. 1 1
      src/freebsd.ipxe
  10. 1 1
      src/freedos.ipxe
  11. 1 1
      src/kali.ipxe
  12. 1 1
      src/linux.ipxe
  13. 1 1
      src/mageia.ipxe
  14. 1 1
      src/openbsd.ipxe
  15. 0 1
      src/opensuse.ipxe
  16. 1 1
      src/rancheros.ipxe
  17. 1 1
      src/tinycore.ipxe
  18. 1 1
      src/ubuntu.ipxe
  19. 0 1
      src/utils.ipxe

+ 1 - 1
src/antergos.ipxe

@@ -21,4 +21,4 @@ goto antergos_exit
 
 :antergos_exit
 clear menu
-chain linux.ipxe
+exit 0

+ 1 - 1
src/architect.ipxe

@@ -20,4 +20,4 @@ goto architect_exit
 
 :architect_exit
 clear menu
-chain linux.ipxe
+exit 0

+ 0 - 1
src/archlinux.ipxe

@@ -18,5 +18,4 @@ chain ${210:string}pxelinux.0 || goto linux_menu
 
 :linux_menu
 clear menu
-chain linux.ipxe
 exit 0

+ 1 - 1
src/bsd.ipxe

@@ -25,7 +25,7 @@ goto bsd_exit
 
 :bsd_exit
 clear menu
-chain menu.ipxe
+exit 0
 
 :changebits
 iseq ${arch} x86_64 && set arch i386 || set arch x86_64

+ 0 - 1
src/centos.ipxe

@@ -70,5 +70,4 @@ goto linux_menu
 
 :linux_menu
 clear menu
-chain linux.ipxe
 exit 0

+ 0 - 1
src/coreos.ipxe

@@ -40,5 +40,4 @@ goto coreos
 
 :coreos_exit
 clear menu
-chain menu.ipxe
 exit 0

+ 1 - 1
src/debian.ipxe

@@ -62,4 +62,4 @@ boot
 
 :debian_exit
 clear menu
-chain linux.ipxe
+exit 0

+ 0 - 1
src/fedora.ipxe

@@ -70,5 +70,4 @@ goto boot
 
 :linux_menu
 clear menu
-chain linux.ipxe
 exit 0

+ 1 - 1
src/freebsd.ipxe

@@ -40,4 +40,4 @@ exit
 
 :freebsd_exit
 clear menu
-chain bsd.ipxe
+exit 0

+ 1 - 1
src/freedos.ipxe

@@ -21,4 +21,4 @@ boot
 
 :freedos_exit
 clear menu
-chain menu.ipxe
+exit 0

+ 1 - 1
src/kali.ipxe

@@ -32,4 +32,4 @@ boot
 
 :kali_exit
 clear menu
-chain linux.ipxe
+exit 0

+ 1 - 1
src/linux.ipxe

@@ -34,7 +34,7 @@ goto linux_exit
 
 :linux_exit
 clear menu
-chain menu.ipxe
+exit 0
 
 :changebits
 iseq ${arch} x86_64 && set arch i386 || set arch x86_64

+ 1 - 1
src/mageia.ipxe

@@ -28,4 +28,4 @@ boot || goto mageia
 
 :mageia_exit
 clear menu
-chain linux.ipxe
+exit 0

+ 1 - 1
src/openbsd.ipxe

@@ -31,4 +31,4 @@ exit
 
 :openbsd_exit
 clear menu
-chain bsd.ipxe
+exit 0

+ 0 - 1
src/opensuse.ipxe

@@ -26,5 +26,4 @@ boot
 
 :opensuse_exit
 clear menu
-chain linux.ipxe
 exit 0

+ 1 - 1
src/rancheros.ipxe

@@ -24,4 +24,4 @@ boot
 
 :rancheros_exit
 clear menu
-chain linux.ipxe
+exit 0

+ 1 - 1
src/tinycore.ipxe

@@ -20,4 +20,4 @@ boot
 
 :tinycore_exit
 clear menu
-chain linux.ipxe
+exit 0

+ 1 - 1
src/ubuntu.ipxe

@@ -67,4 +67,4 @@ boot
 
 :ubuntu_exit
 clear menu
-chain linux.ipxe
+exit 0

+ 0 - 1
src/utils.ipxe

@@ -135,5 +135,4 @@ goto utils_exit
 
 :utils_exit
 clear menu
-chain menu.ipxe
 exit 0