bunch of updates and fixes
[distro-setup] / filesystem / usr / local / bin / myupgrade
index 55e722135bd203055b81a21cd15652f5e2d79523..712047a684e3ffc1de594b79d1eeefc1bae27924 100755 (executable)
@@ -25,6 +25,7 @@ if [[ -s /var/log/checkrestart.log ]]; then
   done
   for x in {30..1}; do
     if ! fuser /var/lib/dpkg/lock &> /dev/null; then
+      echo "pid $PID. unattended upgrade, rebooting now" | pee cat "wall -n"
       /sbin/reboot
       exit 0
     fi