[modify] add reboot function and initialization on startup

This commit is contained in:
2023-09-08 16:52:07 +08:00
parent 20813a992f
commit 90aea333fd
2 changed files with 5 additions and 2 deletions

View File

@ -4,6 +4,8 @@
if [[ -f "/opt/wd/99-Temp/shutdown" ]]; then
poweroff
elif [[ -f "/opt/wd/99-Temp/reboot" ]]; then
reboot
fi