update 2026-08-02 10:12:32

This commit is contained in:
action
2026-08-02 10:12:32 +08:00
parent 728f906442
commit 0316c8a370
1958 changed files with 1523146 additions and 5 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