mistyped resolvconf
This commit is contained in:
parent
b645d78523
commit
f526a2c345
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
ifconfig $INTERFACE down
|
||||
printf "nameserver 10.42.16.1\ndomain vpn" | resolveconf -d "$INTERFACE.inet"
|
||||
printf "nameserver 10.42.16.1\ndomain vpn" | resolvconf -d "$INTERFACE.inet"
|
||||
|
7
tinc-up
7
tinc-up
@ -1,7 +1,6 @@
|
||||
#!/bin/sh
|
||||
echo "add your ip to this file!"
|
||||
exit 1
|
||||
ifconfig $INTERFACE 10.42.1.10 netmask 255.255.255.255
|
||||
ifconfig $INTERFACE 10.42.16.1 netmask 255.255.255.0
|
||||
route del -net 10.42.16.0 netmask 255.255.255.0 dev $INTERFACE
|
||||
route add -net 10.42.0.0 netmask 255.255.0.0 dev $INTERFACE
|
||||
|
||||
printf "nameserver 10.42.16.1\ndomain vpn" | resolveconf -a "$INTERFACE.inet"
|
||||
printf "nameserver 10.42.16.1\ndomain vpn" | resolvconf -a "$INTERFACE.inet"
|
||||
|
Loading…
Reference in New Issue
Block a user