__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/bin/sh # Sample udhcpc renew script RESOLV_CONF="/etc/udhcpc/resolv.conf" [ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" [ -n "$subnet" ] && NETMASK="netmask $subnet" ifconfig $interface $ip $BROADCAST $NETMASK if [ -n "$router" ] then echo "deleting routers" while route del default gw 0.0.0.0 dev $interface do : done metric=0 for i in $router do if [ "$subnet" = "255.255.255.255" ]; then # special case for /32 subnets: # /32 instructs kernel to always use routing for all outgoing packets # (they can never be sent to local subnet - there is no local subnet for /32). # Used in datacenters, avoids the need for private ip-addresses between two hops. ip route add $i dev $interface fi route add default gw $i dev $interface metric $((metric++)) done fi # Only replace resolv.conf if we have at least one DNS server if [ -n "$dns" ] then echo -n > $RESOLV_CONF [ -n "$domain" ] && echo domain $domain >> $RESOLV_CONF for i in $dns do echo adding dns $i echo nameserver $i >> $RESOLV_CONF done fi
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| sample.bound | File | 1.03 KB | 0755 |
|
| sample.deconfig | File | 71 B | 0755 |
|
| sample.nak | File | 68 B | 0755 |
|
| sample.renew | File | 1.03 KB | 0755 |
|
| sample.script | File | 271 B | 0755 |
|
| simple.script | File | 2.03 KB | 0755 |
|
| udhcpd.conf | File | 5.5 KB | 0644 |
|