add eth/lan-up.sh and move eth/wlan-vpn.sh

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-04-02 12:58:19 +02:00
parent 0af7ef678a
commit e8e6ad2df6
2 changed files with 7 additions and 0 deletions

7
eth/lan-up.sh Normal file
View file

@ -0,0 +1,7 @@
#!/bin/sh
# Use the lan instead of the wlan
wpa_cli terminate
killall vpnc
ip l s wlan0 down
ip l s eth0 up