Compare commits
3 Commits
9b97d42f31
...
59cb3622f4
Author | SHA1 | Date | |
---|---|---|---|
59cb3622f4 | |||
90aea333fd | |||
20813a992f |
@ -2,8 +2,9 @@
|
||||
|
||||
#==============================================================================
|
||||
/usr/bin/qbittorrent-nox --webui-port=10005 -d
|
||||
/usr/bin/bash /opt/scripts/update/calibre.sh
|
||||
# /usr/bin/bash /opt/scripts/update/calibre.sh
|
||||
mv /opt/wd/99-Temp/shutdown /opt/wd/99-Temp/shutdown.old
|
||||
mv /opt/wd/99-Temp/reboot /opt/wd/99-Temp/reboot.old
|
||||
#==============================================================================
|
||||
ip link set enp1s0 promisc on
|
||||
ip link set enp2s0 promisc on
|
||||
@ -12,7 +13,7 @@ ip link set wlx90de80ca01ec promisc on
|
||||
sleep 20
|
||||
/usr/bin/bash /opt/scripts/update/macvlan.sh
|
||||
#==============================================================================
|
||||
nohup /usr/bin/bash /opt/scripts/update/jekyll_update.sh > /dev/null 2>&1 &
|
||||
# nohup /usr/bin/bash /opt/scripts/update/jekyll_update.sh > /dev/null 2>&1 &
|
||||
# /usr/bin/mount -t ext4 -w UUID="b7c2c4b8-bfde-479b-80bb-655432a433b8" /opt/wd
|
||||
|
||||
|
||||
|
9
update/nc_rsync.sh
Normal file
9
update/nc_rsync.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
src_dir='/opt/apps/syncthing/data/common'
|
||||
dst_dir='/opt/apps/localcr/K_nextcloud/local/nextcloud/data/nextcloud/files/'
|
||||
rsync --delete-after -avz $src_dir $dst_dir
|
||||
|
||||
docker exec -u www-data nextcloud php /var/www/html/occ files:scan --all
|
||||
|
||||
|
@ -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