[modify] make mavvlan take effect by putting this action 20s after NIC setting

This commit is contained in:
2023-08-28 11:42:13 +08:00
parent ce95c20bc4
commit 19f72612cd
2 changed files with 8 additions and 4 deletions

View File

@ -5,12 +5,13 @@
/usr/bin/bash /opt/scripts/update/calibre.sh
mv /opt/wd/99-Temp/shutdown /opt/wd/99-Temp/shutdown.old
#==============================================================================
/usr/bin/bash /opt/scripts/update/macvlan.sh
#==============================================================================
ip link set enp1s0 promisc on
ip link set enp2s0 promisc on
ip link set wlx90de80ca01ec promisc on
#==============================================================================
sleep 20
/usr/bin/bash /opt/scripts/update/macvlan.sh
#==============================================================================
/usr/bin/bash /opt/scripts/update/jekyll_update.sh
# /usr/bin/mount -t ext4 -w UUID="b7c2c4b8-bfde-479b-80bb-655432a433b8" /opt/wd