|
|
|
@ -8,13 +8,13 @@ echo
|
|
|
|
|
|
|
|
|
|
|
|
# if [ "$2" = "n" ] ; then
|
|
|
|
# if [ "$2" = "n" ] ; then
|
|
|
|
if [ -z "$2"] ; then
|
|
|
|
if [ -z "$2"] ; then
|
|
|
|
norestart=0
|
|
|
|
noreboot=0
|
|
|
|
else
|
|
|
|
else
|
|
|
|
norestart=1
|
|
|
|
noreboot=1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
echo "No restart"
|
|
|
|
echo "No reboot"
|
|
|
|
echo $norestart
|
|
|
|
echo $noreboot
|
|
|
|
|
|
|
|
|
|
|
|
reboot=0
|
|
|
|
reboot=0
|
|
|
|
restart=0
|
|
|
|
restart=0
|
|
|
|
@ -840,6 +840,8 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
echo "Checking for reboot or restart"
|
|
|
|
echo "Checking for reboot or restart"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $noreboot
|
|
|
|
|
|
|
|
|
|
|
|
if [ "$noreboot" = "0" ] ; then
|
|
|
|
if [ "$noreboot" = "0" ] ; then
|
|
|
|
|
|
|
|
|
|
|
|
if [ "$reboot" = "1" ] ; then
|
|
|
|
if [ "$reboot" = "1" ] ; then
|
|
|
|
|