0
0
Fork 0
easterhegg-2005-website/noc/configs/network/if-down.d/openvpn

12 lines
141 B
Bash
Executable file

#!/bin/sh
OPENVPN=/etc/init.d/openvpn
if [ ! -x $OPENVPN ]; then
exit 0
fi
if [ -n "$IF_OPENVPN" ]; then
$OPENVPN stop $IF_OPENVPN
fi