Run post upgrade when doing an upgrade w/ reboot

This commit is contained in:
Taylor Helsper 2019-08-15 22:18:32 -05:00
parent 2f8dce55b5
commit 213088812a

View File

@ -46,7 +46,8 @@ if [ "$#" -ge 2 ]; then
echo "Only updating files... Done."
else
# Service not found, reboot
echo "Service not found, rebooting device..."
echo "Service not found, doing full upgrade and rebooting device..."
/bin/bash /usr/bin/mynode_post_upgrade.sh
reboot
fi
else