Title / Description
Code # Settings: # Where and what you want to call the Lockfile lockfile='/var/run/WiFi_Check.pid' # Which Interface do you want to check/fix wlan='wlan0' # Isolate the intended gateway IP address from /etc/network/interfaces pingip=`cat /etc/network/interfaces | awk '/gateway/ { print $2; exit; }'` ################################################################## echo echo "Starting Wi-Fi check on interface \"$wlan\"." date echo
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code