From 17a38cce32767ebb2f973367101255aac862d953 Mon Sep 17 00:00:00 2001 From: gutosie Date: Tue, 16 Jan 2024 17:45:18 +0200 Subject: [PATCH] Update userscript.sh --- NeoBoot/files/userscript.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NeoBoot/files/userscript.sh b/NeoBoot/files/userscript.sh index 761a7ee..f5062da 100644 --- a/NeoBoot/files/userscript.sh +++ b/NeoBoot/files/userscript.sh @@ -28,7 +28,10 @@ echo "...The network has no connection..." echo "...Network RESTART..." echo "...restart network connection..." - /etc/init.d/networking force-reload; + #/etc/init.d/networking force-reload; + if [ -e /sys/class/net/sys0 ]; then + ifconfig sys0 up + fi sync echo "...Restart network finish..." echo ".............................."