Group :: System/Servers
RPM: bind-control
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
#!/bin/sh
. /etc/control.d/functions
DIRECTORY=/var/lib/bind/zone/slave
new_summary "ISC BIND server as a slave DNS"
new_fmode enabled 1770 root named
new_fmode disabled 700 root named
new_help enabled "Slave DNS mode support in ISC BIND server is enabled"
new_help disabled "Slave DNS mode support in ISC BIND server is disabled"
if [ "$*" = "status" -a ! -d "$DIRECTORY" ]; then
echo disabled
exit 0
fi
control_fmode "$DIRECTORY" "$*" || exit 1