Displaying 1 result from an estimated 1 matches for "vpn_stop".
Did you mean:
pfn_stop
2000 Aug 21
0
Rewritten script /etc/init.d/tinc
...CD -n "$1" $DEBUG || \
{ MSG="could not start daemon for network $1"; return 3; }
# setup custom static routes
/etc/sysconfig/network-scripts/ifup-routes $TAP
return 0
} # vpn_start
##############################################################################
# vpn_stop () Stops specified VPN
#
# $1 ... VPN to stop
function vpn_stop () {
MSG=""; ERR=""
vpn_load $1 || return 1
# kill the tincd daemon
PID="$TPIDS/tinc.$1.pid"
if [ -f $PID ]; then
$TINCD -n "$1" -k &> /dev/null...