update 2026-08-24 20:37:43

This commit is contained in:
action committed 2026-08-24 20:37:43 +08:00
1 parent 4e37f23d47
commit 0f2308381e
1964 files changed
+1523405 -239

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
. /lib/functions.sh
if [ "$ACTION" != "ifup" ]; then
exit
fi
config_load network
config_get tunnelid $INTERFACE tunnelid
config_get username $INTERFACE username
config_get password $INTERFACE password
if [ "$tunnelid" != "" ]; then
wget -O - https://$username:$password@ipv4.tunnelbroker.net/nic/update?hostname=$tunnelid --no-check-certificate
fi