|
From: Bruce S. <bl...@us...> - 2005-07-25 14:23:24
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29641/scripts Modified Files: Tag: rel-1-2-patches bind Log Message: bind works as a caching only name server out of the box Index: bind =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/bind,v retrieving revision 1.30 retrieving revision 1.30.2.1 diff -u -d -r1.30 -r1.30.2.1 --- bind 27 Mar 2004 17:30:19 -0000 1.30 +++ bind 25 Jul 2005 14:22:42 -0000 1.30.2.1 @@ -57,8 +57,11 @@ copy_files $WORKDIR/tmp/usr $CDDIR || exit 1 cp $MYDIR/scripts/named $ETCDIR/etc/init.d || exit 1 mkdir -p $ETCDIR/etc/named/ - cp $MYDIR/scripts/root.hint $ETCDIR/etc/named/root.hint || exit 1 - echo "#empty file" > $ETCDIR/etc/named.conf || exit 1 + cp $MYDIR/scripts/named.conf $ETCDIR/etc/ || exit 1 + cp $MYDIR/scripts/root.hint $ETCDIR/etc/named/ || exit 1 + cp $MYDIR/scripts/named.local $ETCDIR/etc/named/ || exit 1 + cp $MYDIR/scripts/localhost.zone $ETCDIR/etc/named/ || exit 1 + rm -rf $WORKDIR/tmp || exit 1 getent passwd named >/dev/null @@ -77,8 +80,8 @@ * ) echo "ERROR ($0)" - echo "please add parameter so I know what to do" - exit 1 - ;; + echo "please add parameter so I know what to do" + exit 1 + ;; esac |