summaryrefslogtreecommitdiffstats
path: root/dhcpcd/80-pacredir
blob: b67af4ecc0ec45b657ea9a4cfc602eb605eabf4b (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
 
case "${reason}" in
	BOUND|REBIND|REBOOT|RENEW|TIMEOUT|STATIC)
		# inform pacredir about reestablished connection
		kill -HUP $(pgrep pacredir)
		;;
	PREINIT|EXPIRE|INFORM|FAIL|IPV4LL|NAK|NOCARRIER|RELEASE|STOP)
		# do nothing here...
		;;
esac