diff options
author | Adam Tkac <atkac@fedoraproject.org> | 2008-11-10 16:36:47 +0000 |
---|---|---|
committer | Adam Tkac <atkac@fedoraproject.org> | 2008-11-10 16:36:47 +0000 |
commit | e5a309e7ae1c265ff6e6d68405830ec414fcf56f (patch) | |
tree | 9ebabe516224c5b85f342fe89ef57983cd6e9460 /named.init | |
parent | 5691aedf5bb914deb1d18d42fd343e1c22872972 (diff) | |
download | bind-e5a309e7ae1c265ff6e6d68405830ec414fcf56f.tar.gz bind-e5a309e7ae1c265ff6e6d68405830ec414fcf56f.tar.xz bind-e5a309e7ae1c265ff6e6d68405830ec414fcf56f.zip |
- 9.6.0b1 releasebind-9_6_0-0_1_b1_fc11
- don't build ODBC and Berkeley DB DLZ drivers
- end of bind-chroot-admin script, copy config files to chroot manually
- /proc doesn't have to be mounted to chroot
- temporary use libbind from 9.5 series, noone has been released for 9.6
yet
- removed all deprecated stuff from CVS
Diffstat (limited to 'named.init')
-rwxr-xr-x | named.init | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -84,17 +84,6 @@ start() OPTIONS="${OPTIONS} -t ${ROOTDIR}" ckcf_options="$ckcf_options -t ${ROOTDIR}"; [ -s /etc/localtime ] && cp -fp /etc/localtime ${ROOTDIR}/etc/localtime; - [ -d ${ROOTDIR}/proc ] || mkdir -p ${ROOTDIR}/proc; - if ! egrep -q '^/proc[[:space:]]+'${ROOTDIR}'/proc' /proc/mounts; then - mount --bind -n /proc ${ROOTDIR}/proc >/dev/null 2>&1; - fi - if [ ! -z $dbusEnabled ]; then - if ! egrep -q '^/[^[:space:]]+[[:space:]]+'${ROOTDIR}'/var/run/dbus' /proc/mounts; then - mkdir -p ${ROOTDIR}/var/run/dbus - [ -d /var/run/dbus ] || mkdir -p /var/run/dbus; - mount --bind -n /var/run/dbus ${ROOTDIR}/var/run/dbus > /dev/null 2>&1; - fi; - fi; fi RETVAL=0 @@ -160,17 +149,6 @@ stop() { rm -f /var/run/{named,named-sdb}.pid fi; - # unmount mounted filesystems/directories - if [ -n "${ROOTDIR}" -a "x${ROOTDIR}" != "x/" ]; then - if egrep -q '^/proc[[:space:]]+'${ROOTDIR}'/proc' /proc/mounts; then - umount ${ROOTDIR}/proc >/dev/null 2>&1 - fi - if [ ! -z $dbusEnabled ]; then - if egrep -q '^/[^[:space:]]+[[:space:]]+'${ROOTDIR}'/var/run/dbus' /proc/mounts; then - umount ${ROOTDIR}/var/run/dbus > /dev/null 2>&1 - fi; - fi; - fi; if [ $RETVAL -eq 0 ]; then success else |