Changeset 1674
- Timestamp:
- 06/23/06 18:34:25 (2 years ago)
- Files:
-
- alternc-slavedns/trunk/slavedns (modified) (2 diffs)
- alternc-slavedns/trunk/slavedns.conf (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
alternc-slavedns/trunk/slavedns
r1673 r1674 11 11 WGETFLAGS="" 12 12 13 #NAMED9=/usr/pkg/etc/rc.d/named9 # BIND9 on NetBSD 14 #NAMED8=/etc/rc.d/named # BIND8 on NetBSD/FreeBSD/OpenBSD 15 #NAMED8=/etc/init.d/named # BIND8 on some Linux 16 #NAMED9=/etc/init.d/named9 # BIND9 on some Linux 17 NAMED8=/etc/init.d/bind # BIND8 on other Linux 18 NAMED9=/etc/init.d/bind9 # BIND9 on other Linux 13 NAMED="/etc/init.d/bind restart" 19 14 20 15 TIMEOUT=5 21 NAMED="${NAMED8} ${NAMED9}"22 16 23 17 CreateBindConf() { … … 112 106 done # Main loop on config files 113 107 114 if [ " $RELOAD" ]108 if [ "YES" = "$RELOAD" ] 115 109 then 116 for script in $NAMED 117 do 118 if [ -x ${script} ] 119 then 120 ${script} reload 121 fi 122 done 110 ${NAMED} >/dev/null 123 111 fi alternc-slavedns/trunk/slavedns.conf
r1673 r1674 31 31 # BINDINCLUDE=/etc/namedb/slavedns.conf 32 32 # WGETFLAGS="--no-check-certificate" 33 #NAMED="/usr/pkg/etc/rc.d/named9 restart" # BIND9 on NetBSD 34 #NAMED="/etc/rc.d/named restart" # BIND8 on NetBSD/OpenBSD 35 #NAMED="killall -HUP named" # generic 36 #NAMED="/etc/init.d/named restart" # BIND8 on some Linux 37 #NAMED="/etc/init.d/named9 restart" # BIND9 on some Linux 38 #NAMED="/etc/init.d/bind restart" # BIND8 on other Linux 39 #NAMED="/etc/init.d/bind9 restart" # BIND9 on other Linux
