summaryrefslogtreecommitdiffstats
path: root/40-openvpn
blob: 4cdc567f82e8861be1cfea5e46ca12d2069126ff (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
 
case "${reason}" in
	BOUND|INFORM|REBIND|REBOOT|RENEW|TIMEOUT|STATIC)
		# send openvpn processes SIGUSR1 and make them reconnect
		killall -USR1 openvpn
		;;
	PREINIT|EXPIRE|FAIL|IPV4LL|NAK|NOCARRIER|RELEASE|STOP)
		# do nothing here...
		;;
esac