修改后用在自行编辑的bind启动脚本
星期五, 八月 24th, 2007原脚本:
#!/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
# for a chrooted server: “-u bind -t /var/lib/named”
# Don’t modify this line, change or create /etc/default/bind9.
OPTIONS=”"
RESOLVCONF=yes
test -f /etc/default/bind9 && . /etc/default/bind9
test -x /usr/sbin/rndc || exit 0
. /lib/lsb/init-functions
DISTRO=$(lsb_release -is 2>/dev/null || echo Debian)
case “$1″ in
start) (more…)
阅读(112 次)
