nsbin/eth/lan-up.sh

9 lines
130 B
Bash
Raw Normal View History

#!/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