From a96f533f8fd1845a2e1762d133efbbd16d99a1cd Mon Sep 17 00:00:00 2001 From: gitea Date: Sun, 19 May 2024 11:28:01 +0800 Subject: [PATCH] [modify] make `ifconfig` output to /opt/wd/99-Temp/ifconfig.txt on the start of the system --- update/init.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update/init.sh b/update/init.sh index e0c4424..6453aef 100644 --- a/update/init.sh +++ b/update/init.sh @@ -5,6 +5,8 @@ # /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 +sleep 20 +ifconfig > /opt/wd/99-Temp/ifconfig.txt #============================================================================== # ip link set enp1s0 promisc on # ip link set enp2s0 promisc on