From ea87853a7b8d94b3ec821a4b3b31d15fa2c16e37 Mon Sep 17 00:00:00 2001 From: gitea Date: Wed, 5 Jul 2023 20:59:05 +0800 Subject: [PATCH] [modify] due to possible reasons which will cause some task will not be executed, so change the sleep time and remove sleep time before localip.sh execution --- update/init.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/update/init.sh b/update/init.sh index 115e543..9b73802 100644 --- a/update/init.sh +++ b/update/init.sh @@ -1,5 +1,7 @@ #!/bin/bash +sleep 60 + ip link set enp1s0 promisc on ip link set enp2s0 promisc on ip link set wlx90de80ca01ec promisc on @@ -7,6 +9,8 @@ ip link set wlx90de80ca01ec promisc on /usr/bin/qbittorrent-nox --webui-port=10005 -d /usr/bin/bash /opt/scripts/update/jekyll_update.sh /usr/bin/bash /opt/scripts/update/calibre.sh +/usr/bin/bash /opt/scripts/update/localip.sh + # /usr/bin/mount -t ext4 -w UUID="b7c2c4b8-bfde-479b-80bb-655432a433b8" /opt/wd