[modify] add reboot function and initialization on startup
This commit is contained in:
@ -4,6 +4,8 @@
|
||||
|
||||
if [[ -f "/opt/wd/99-Temp/shutdown" ]]; then
|
||||
poweroff
|
||||
elif [[ -f "/opt/wd/99-Temp/reboot" ]]; then
|
||||
reboot
|
||||
fi
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user