mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-27 15:04:04 +00:00
11 lines
235 B
Bash
Executable File
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 |