Displaying 1 result from an estimated 1 matches for "vpn_reload".
Did you mean:
on_reload
2000 Aug 21
0
Rewritten script /etc/init.d/tinc
...fig $TAP down &> /dev/null
# remove ethertap module
if [ -n "$(lsmod |grep ethertap$NUM)" ]; then
rmmod "ethertap$NUM" &> /dev/null
fi
return 0
} # vpn_stop
##############################################################################
# vpn_reload () reloads specified VPN
#
# $1 ... VPN to reload
# $2 ... Signal to send, defaults to HUP
function vpn_reload () {
MSG=""; ERR=""
vpn_load $1 || return 1
if [ -z "$2" ]; then
SIG=HUP
else
SIG=$2
fi
# kill the tincd daemon
PIDF=&quo...