Update config print reboot needed for changes to take effect

beta-pl
Alan Johnston 2 years ago committed by GitHub
parent 0d0939c750
commit a2e36b02b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -842,19 +842,19 @@ echo "Checking for reboot or restart"
echo $noreboot
if [ "$noreboot" = "0" ] ; then
if [ "$reboot" = "1" ] ; then
if [ "$reboot" = "1" ] ; then
if [ "$noreboot" = "0" ] ; then
echo "Rebooting"
else
echo "Reboot needed for changes to take effect"
fi
fi
if [ "$restart" = "1" ] ; then
if [ "$restart" = "1" ] ; then
if [ "$reboot" = "1" ] ; then
echo "Restarting"
else
echo "Restart needed for changes to take effect"
fi
else
echo "Reboot disabled"
fi

Loading…
Cancel
Save

Powered by TurnKey Linux.