diff --git a/update/shutdown.sh b/update/shutdown.sh new file mode 100644 index 0000000..7df5ed4 --- /dev/null +++ b/update/shutdown.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# code=`cat /opt/wd/99-Temp/shutdown.txt` + +if [[ -f "/opt/wd/99-Temp/shutdown" ]]; then + poweroff +fi + +