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
289 B
Plaintext
16 lines
289 B
Plaintext
2 years ago
|
#!/bin/sh -e
|
||
|
# Called when an interfaces comes up or down
|
||
|
# 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
|