mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 14:08:07 +00:00
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."
|
echo "Only updating files... Done."
|
||||||
else
|
else
|
||||||
# Service not found, reboot
|
# 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
|
reboot
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user