Skip to content
Snippets Groups Projects
Commit 53cbe780 authored by wonko's avatar wonko
Browse files

logger instead of echowq

parent a0cbc609
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ if [[ "$NET_IS" == "UP" ]]; then
source $VPN_FILE
case $VPN in
1 ) vpn 2 ;;
2 ) echo "restart vpn" ;;
2 ) logger -t watchcat "restart vpn" ;;
* ) vpn 1 ;;
esac
fi
......@@ -36,7 +36,7 @@ else
source $NET_FILE
case $NET in
1 ) net 2 ;;
2 ) echo "reboot" ;;
2 ) logger -t watchcat "reboot" ;;
* ) net 1 ;;
esac
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment