Commit 1db745fd authored by Joab Bremer's avatar Joab Bremer

Update monitor_interface.sh

parent ad8413a5
#!/bin/bash #!/bin/bash
INTERFACE=eth0 INTERFACE=eth0
GATEWAY_IFUP=10.11.0.1 GATEWAY_IFUP=192.168.0.1
GATEWAY_IFDOWN=192.168.0.1 GATEWAY_IFDOWN=192.168.2.1
TARGET_HOST=8.8.8.8 TARGET_HOST=8.8.8.8
ping -c 3 $TARGET_HOST > /dev/null ping -c 3 $TARGET_HOST > /dev/null
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment