networkconnect syntax problem solved
jdashiel at panix.com
Fri Nov 6 17:17:54 UTC 2015
if [ -x /usr/bin/ethtool ]; then
sudo -H ethtool wlp0s2f1u2
if [ $? -gt 0 ]; then
sudo -H dhcpcd
echo "error: ethtool is not installed."
That ethtool package is more civilized than ping. The hex address on the
ethtool line I needed to put there in order for ethtool to operate at all.
Just replace that with something that's locally correct and the script
should be or become useable where you are.
More information about the Blinux-list