From e8e6ad2df695b29fa5b020d17feed4e2b0e4f1df Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 2 Apr 2009 12:58:19 +0200 Subject: [PATCH] add eth/lan-up.sh and move eth/wlan-vpn.sh Signed-off-by: Nico Schottelius --- eth/lan-up.sh | 7 +++++++ eth-wlan-vpn.sh => eth/wlan-vpn.sh | 0 2 files changed, 7 insertions(+) create mode 100644 eth/lan-up.sh rename eth-wlan-vpn.sh => eth/wlan-vpn.sh (100%) diff --git a/eth/lan-up.sh b/eth/lan-up.sh new file mode 100644 index 0000000..a1ea0fe --- /dev/null +++ b/eth/lan-up.sh @@ -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 diff --git a/eth-wlan-vpn.sh b/eth/wlan-vpn.sh similarity index 100% rename from eth-wlan-vpn.sh rename to eth/wlan-vpn.sh