summaryrefslogtreecommitdiffstats
path: root/dhcpcd/80-pacredir
blob: b5651be5149fb7eedfdb426f4a6976ccaa9d935b (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

case "${reason}" in
	BOUND|REBIND|REBOOT|RENEW|TIMEOUT|STATIC)
		# inform pacredir about reestablished connection
		if pgrep -x pacredir >/dev/null; then
			kill -HUP $(pgrep pacredir)
		fi
		;;
	PREINIT|EXPIRE|INFORM|FAIL|IPV4LL|NAK|NOCARRIER|RELEASE|STOP)
		# do nothing here...
		;;
esac