mynode/rootfs/standard/usr/bin/mynode-reboot
2020-05-09 12:24:19 -05:00

11 lines
235 B
Bash
Executable File

#!/bin/bash
# mynode-reboot
# This script needs to be run with sudo
# It is intended to stop all mynode services and reboot the device
set -e
source /usr/share/mynode/mynode_config.sh
/usr/bin/mynode_stop_critical_services.sh
reboot