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

12 lines
141 B
Plaintext
Raw Permalink Normal View History

2024-01-27 15:10:12 +01:00
#!/bin/sh
OPENVPN=/etc/init.d/openvpn
if [ ! -x $OPENVPN ]; then
exit 0
fi
if [ -n "$IF_OPENVPN" ]; then
$OPENVPN stop $IF_OPENVPN
fi