nsbin/eth/lan-up.sh

9 lines
130 B
Bash
Executable File

#!/bin/sh
# Use the lan instead of the wlan
wpa_cli terminate
killall vpnc
ip l s wlan0 down
ip l s eth0 up
udhcpc -nfqi eth0