Run post upgrade when doing an upgrade w/ reboot
This commit is contained in:
parent
2f8dce55b5
commit
213088812a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user