mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-30 07:45:13 +08:00
update 2026-07-15 01:08:36
This commit is contained in:
1 parent
e68452b5dd
commit
c2d17d02c4
1974 files changed
+1523390
-90
No files matched your search
+12
@@ -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
|
||||
Reference in new issue
Block a user