Compare commits

..

3 Commits

3 changed files with 14 additions and 0 deletions

View File

@ -2,6 +2,7 @@
/usr/bin/qbittorrent-nox --webui-port=10005 -d
/usr/bin/bash /opt/scripts/update/calibre.sh
mv /opt/wd/99-Temp/shutdown /opt/wd/99-Temp/shutdown.old
ip link set enp1s0 promisc on
ip link set enp2s0 promisc on

View File

@ -53,6 +53,10 @@ ABORT=9
# Candidate: suspend/lock/ignore/poweroff/hibernate
#
# Secondly, reboot the system
# -------------------------------------------------------------------------------------------------------------
# get host local ip when using a new network environment
# ping BeeLink
# -------------------------------------------------------------------------------------------------------------
# =============================================================================================================

9
update/shutdown.sh Normal file
View File

@ -0,0 +1,9 @@
#!/bin/bash
# code=`cat /opt/wd/99-Temp/shutdown.txt`
if [[ -f "/opt/wd/99-Temp/shutdown" ]]; then
poweroff
fi