You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
283 B
Bash

#!/bin/sh -e
# Called when an interface disconnects
# Written by LaMont Jones <lamont@debian.org>
# 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 &
exit 0