]> git.pld-linux.org Git - packages/bind.git/commitdiff
- really removed chroot crap bind-9_1_0-2
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 30 Jan 2001 21:27:34 +0000 (21:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bind.spec -> 1.82

bind.spec

index d89035b0c03f69d7b4a13cd655d23484ba929849..acec60239a9050a00325b64ce3cb12c87465a2c3 100644 (file)
--- a/bind.spec
+++ b/bind.spec
@@ -248,34 +248,6 @@ if [ "$1" = "0" ]; then
        %{_sbindir}/groupdel named
 fi
 
-%pre chroot
-if [ -f /etc/named.boot ]; then
-       cp /etc/named.boot /etc/named.boot.2conf
-       mv -f /etc/named.boot /etc/named.rpmsave
-       echo "Warrnig:/etc/named.boot saved as /etc/named.rpmsave" 1>&2
-fi
-if ! id -g named > /dev/null 2>&1 ; then
-       %{_sbindir}/groupadd -g 58 named
-fi
-if ! id -u named > /dev/null 2>&1 ; then
-       %{_sbindir}/useradd -u 58 -g 58 -d /dev/null -s /bin/false -c "BIND user" named
-fi
-
-%post chroot
-ln -sf named-chroot /etc/rc.d/init.d/named
-/sbin/chkconfig --add named
-
-if [ -f /var/lock/subsys/named ]; then
-       /etc/rc.d/init.d/named restart 1>&2
-else
-       echo "Type \"/etc/rc.d/init.d/named start\" to start named" 1>&2
-fi
-
-if [ -f /etc/named.boot.2conf ]; then
-       /usr/sbin/named-bootconf </etc/named.boot.2conf >%{_chroot}/etc/named.conf
-       rm -f /etc/named.boot.2conf
-fi
-
 %post libs -p /sbin/ldconfig
 %postun libs -p /sbin/ldconfig
 
This page took 0.042494 seconds and 4 git commands to generate.