[no ci] Overlay: update network script

pull/1397/head
Viktor 2024-04-12 09:48:03 +02:00
parent 77cd76e81f
commit 02585c788f
1 changed files with 4 additions and 7 deletions

View File

@ -29,13 +29,10 @@ case "$1" in
stop)
echo "Stopping network..."
ifdown lo
if [ -n "$dev" ]; then
ifdown -f wlan0
ifdown -f usb0
ifdown -f eth1
else
ifdown eth0
fi
ifdown -f wlan0
ifdown -f usb0
ifdown -f eth1
ifdown -f eth0
;;
restart)