This commit is contained in:
2023-12-17 13:51:10 +05:00
parent 7d77fc4a80
commit 9c4f3bfc7b

View File

@@ -10,7 +10,7 @@ check_repo()
opkg update | grep -q "Failed to download" && printf "\033[32;1mopkg failed. Check internet or date. Command for force ntp sync: ntpd -p ptbtime1.ptb.de\033[0m\n" && exit 1
}
route_vpn ()
route_vpn()
{
cat << EOF > /etc/hotplug.d/iface/30-rknroute
#!/bin/sh
@@ -175,7 +175,6 @@ autoprovisionStage2()
# available default password anywhere, therefore the random here...
#setRootPassword "AsD7fg"
installPackages
crontab - <<EOF
# */10 * * * * /root/autoprovision-stage3.py
@@ -197,6 +196,7 @@ EOF
fi
}
installPackages
check_repo
route_vpn
add_mark