#!/bin/bash
IF=$1
STATUS=$2
if [ "$STATUS" = "up" ]; then
/etc/rc.d/openvpn start
else
/etc/rc.d/openvpn stop
fi
So that openvpn will start straight away whenever any interface (IF) has the status up.
Blog by abdza. Open Source, Computers, Gadgets, Life, Love and everything in between.
#!/bin/bash
IF=$1
STATUS=$2
if [ "$STATUS" = "up" ]; then
/etc/rc.d/openvpn start
else
/etc/rc.d/openvpn stop
fi
As I embark on my new journey to learn the Rust programming language, I find myself pondering—where have all the blogs gone? In search of pr...