From b4b9308adecafb6fc79b2afb53d883ea8faff9d4 Mon Sep 17 00:00:00 2001 From: gutosie Date: Thu, 11 Dec 2025 10:06:07 +0200 Subject: [PATCH] Update userscript.sh --- NeoBoot/files/userscript.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/NeoBoot/files/userscript.sh b/NeoBoot/files/userscript.sh index 1fd25b2..74bdb08 100644 --- a/NeoBoot/files/userscript.sh +++ b/NeoBoot/files/userscript.sh @@ -41,7 +41,14 @@ echo "github server available" echo "The network has a connection. It is OK" fi - fi + fi + if [ -f /tun.ko ] ; then + if [ ! -e /lib/modules/*/kernel/drivers/net ]; then + mkdir -p /lib/modules/*/kernel/drivers/net + fi + sleep 2; + mv /tun.ko /lib/modules/*/kernel/drivers/net + fi if [ -f /zImage ] ; then rm -r /zImage fi