Commit 770daf9b authored by wonko's avatar wonko
Browse files

actual reset/reboot commandswq

parent 53cbe780
......@@ -27,7 +27,7 @@ if [[ "$NET_IS" == "UP" ]]; then
source $VPN_FILE
case $VPN in
1 ) vpn 2 ;;
2 ) logger -t watchcat "restart vpn" ;;
2 ) /etc/init.d/tinc restart& ;;
* ) vpn 1 ;;
esac
fi
......@@ -36,7 +36,7 @@ else
source $NET_FILE
case $NET in
1 ) net 2 ;;
2 ) logger -t watchcat "reboot" ;;
2 ) /sbin/reboot& ;;
* ) net 1 ;;
esac
fi
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