Update config more fail

sim-fail-2
Alan Johnston 4 months ago committed by GitHub
parent c7f42b3496
commit 708f9359d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -220,14 +220,15 @@ sudo modprobe snd-aloop
# if [ "$2" = "n" ] ; then
if [ -z "$2" ] ; then
noreboot=0
else
if [ "$2" = "n" ] ; then
noreboot=0
echo "Reboot disabled"
noreboot=1
else
fail=$2
fi
else
noreboot=1
echo "Reboot disabled"
fi
# echo "No reboot"
@ -1488,8 +1489,8 @@ elif [ "$1" = "-j" ]; then
elif [ "$1" = "-M" ]; then
if [ -z $fail ]; then
echo "$fail has a value!"
if [ $fail ]; then
echo "fail has a value!"
echo $fail
fi

Loading…
Cancel
Save

Powered by TurnKey Linux.