Compare commits
3 Commits
6e50da6f8d
...
38b59e86c3
Author | SHA1 | Date | |
---|---|---|---|
38b59e86c3 | |||
76c82ded84 | |||
b7c656afd3 |
@ -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
|
||||
|
@ -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
9
update/shutdown.sh
Normal 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
|
||||
|
||||
|
Reference in New Issue
Block a user