diff options
author | Marcello Coutinho <marcellocoutinho@gmail.com> | 2013-10-16 22:49:11 -0300 |
---|---|---|
committer | Marcello Coutinho <marcellocoutinho@gmail.com> | 2013-10-16 22:49:11 -0300 |
commit | e141dd9241884c1d0321a48df58ffcd7ba07c6e6 (patch) | |
tree | c4e030b378b36e87ad4d086c236c63b0efb5abae /config/bind | |
parent | caf135854ec7df07301512e972e3bc637e3abe9e (diff) | |
download | pfsense-packages-e141dd9241884c1d0321a48df58ffcd7ba07c6e6.tar.gz pfsense-packages-e141dd9241884c1d0321a48df58ffcd7ba07c6e6.tar.bz2 pfsense-packages-e141dd9241884c1d0321a48df58ffcd7ba07c6e6.zip |
bind - change root folder from /conf symlink to /cf dir
Diffstat (limited to 'config/bind')
-rw-r--r-- | config/bind/bind.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/bind/bind.inc b/config/bind/bind.inc index 44ec0ed1..1bcefa16 100644 --- a/config/bind/bind.inc +++ b/config/bind/bind.inc @@ -45,7 +45,7 @@ if ($pf_version > 2.0) else define('BIND_LOCALBASE','/usr/local'); -define('CHROOT_LOCALBASE','/conf/named'); +define('CHROOT_LOCALBASE','/cf/named'); function bind_zone_validate($post, $input_errors){ if (key_exists("mail",$_POST)) @@ -437,7 +437,7 @@ function bind_write_rcfile() { $rc['file'] = 'named.sh'; $rc['start'] = <<<EOD if [ -z "`ps auxw | grep "[n]amed -c /etc/namedb/named.conf"|awk '{print $2}'`" ];then - {$BIND_LOCALBASE}/sbin/named -c /etc/namedb/named.conf -u bind -t /conf/named/ + {$BIND_LOCALBASE}/sbin/named -c /etc/namedb/named.conf -u bind -t /cf/named/ fi EOD; @@ -447,11 +447,11 @@ sleep 2 EOD; $rc['restart'] = <<<EOD if [ -z "`ps auxw | grep "[n]amed -c /etc/namedb/named.conf"|awk '{print $2}'`" ];then - {$BIND_LOCALBASE}/sbin/named -c /etc/namedb/named.conf -u bind -t /conf/named/ + {$BIND_LOCALBASE}/sbin/named -c /etc/namedb/named.conf -u bind -t /cf/named/ else killall -9 named 2>/dev/null sleep 3 - {$BIND_LOCALBASE}/sbin/named -c /etc/namedb/named.conf -u bind -t /conf/named/ + {$BIND_LOCALBASE}/sbin/named -c /etc/namedb/named.conf -u bind -t /cf/named/ fi EOD; |