Control PXE tarball builds with Makefile

This commit is contained in:
Michael Aldridge
2017-08-27 20:10:38 -07:00
parent 89e3affa22
commit fc80523768
4 changed files with 17 additions and 6 deletions

View File

@ -7,7 +7,7 @@ check() {
}
depends() {
return 0
echo network
}
install() {
@ -43,6 +43,7 @@ install() {
inst /usr/bin/reboot
inst /usr/bin/rm
inst /usr/bin/sed
inst /usr/bin/sh
inst /usr/bin/sort
inst /usr/bin/sync
inst /usr/bin/stdbuf

View File

@ -8,7 +8,7 @@ dialog --colors --keep-tite --no-shadow --no-mouse \
"Shell" "Run dash" \
2>/tmp/netmenu.action
if ! $? ; then
if [ ! $? ] ; then
reboot -f
fi