Browse Source

added power off option in pxe menu

tags/v1.0.0
Robin Thoni 6 years ago
parent
commit
326aa31dcd
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      data/apache/files/boot.ipxe

+ 5
- 0
data/apache/files/boot.ipxe View File

@@ -39,7 +39,9 @@ item --gap -- Misc
39 39
 item chain-online Chain on rthoni.com
40 40
 item config Config
41 41
 item shell Shell
42
+item --gap -- Power
42 43
 item reboot Reboot
44
+item poweroff Poweroff
43 45
 choose choice && goto ${choice}
44 46
 
45 47
 <?php
@@ -60,6 +62,9 @@ shell
60 62
 :reboot
61 63
 reboot
62 64
 
65
+:poweroff
66
+poweroff
67
+
63 68
 :boot-install
64 69
 set unix install/${install}
65 70
 set options vga=788 -- quiet

Loading…
Cancel
Save