12 lines
141 B
Bash
Executable file
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
|