Fixed a few bashisms, thanks to Trent W. Buck <trentbuck@gmail.com>.
This commit is contained in:
parent
9ad970aca2
commit
c8f66ebe90
|
@ -14,6 +14,6 @@ Breakpoint ()
|
||||||
if [ "${LH_BREAKPOINTS}" = "enabled" ]
|
if [ "${LH_BREAKPOINTS}" = "enabled" ]
|
||||||
then
|
then
|
||||||
Echo_message "Waiting at ${NAME}"
|
Echo_message "Waiting at ${NAME}"
|
||||||
read
|
read WAIT
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ Help ()
|
||||||
|
|
||||||
if [ -n "${USAGE}" ]
|
if [ -n "${USAGE}" ]
|
||||||
then
|
then
|
||||||
echo -e "${USAGE}"
|
/bin/echo -e "${USAGE}"
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -157,7 +157,7 @@ EOF
|
||||||
usbdev="$(echo $rootpartition | sed -e 's/,[[:digit:]]//')"
|
usbdev="$(echo $rootpartition | sed -e 's/,[[:digit:]]//')"
|
||||||
echo "Root partition is $rootpartition, device is: $usbdev"
|
echo "Root partition is $rootpartition, device is: $usbdev"
|
||||||
|
|
||||||
echo "WAITING..." && read
|
echo "WAITING..." && read WAIT
|
||||||
|
|
||||||
#cat > chroot/grub.sh << EOF
|
#cat > chroot/grub.sh << EOF
|
||||||
#grub --batch << EOM
|
#grub --batch << EOM
|
||||||
|
|
Loading…
Reference in New Issue