aboutsummaryrefslogtreecommitdiffstats
#!/bin/sh

case "${reason}" in
	BOUND|REBIND|REBOOT|RENEW|TIMEOUT|STATIC)
		# inform pacredir about reestablished connection
		if systemctl is-active -q pacredir.service; then
			systemctl reload pacredir.service
		fi
		;;
	PREINIT|EXPIRE|INFORM|FAIL|IPV4LL|NAK|NOCARRIER|RELEASE|STOP)
		# do nothing here...
		;;
esac