#!/bin/sh -e # Called when an interface disconnects # Written by LaMont Jones # kick named as needed # If /usr isn't mounted yet, silently bail. if [ ! -d /usr/sbin ]; then exit 0 fi # if named is running, reconfig it. rndc reconfig >/dev/null 2>&1 || true exit 0