update 2026-07-20 18:46:24

This commit is contained in:
action
2026-07-20 18:46:24 +08:00
parent bd9db3ef54
commit 614eca2bea
1957 changed files with 1523142 additions and 1 deletions
+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