Compare commits
No commits in common. "v961" and "v963" have entirely different histories.
11
etc/init/named.conf
Normal file
11
etc/init/named.conf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
description "Start Domain Name Server"
|
||||||
|
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
||||||
|
version 1.0
|
||||||
|
emits none special
|
||||||
|
|
||||||
|
start on (runlevel [2345] and (started rpc))
|
||||||
|
stop on runlevel [016]
|
||||||
|
|
||||||
|
console none
|
||||||
|
|
||||||
|
exec /usr/sbin/named -f
|
32
init/genpkg
32
init/genpkg
@ -16,18 +16,20 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
WDIR=`pwd`
|
if [ -d /var/install/sysvinit* ]; then
|
||||||
cd etc/init.d
|
WDIR=`pwd`
|
||||||
chmod 755 named
|
cd etc/init.d
|
||||||
mkdir rc{0,1,2,3,4,5,6}.d
|
chmod 755 named
|
||||||
for i in 0 1 2 6; do
|
mkdir rc{0,1,2,3,4,5,6}.d
|
||||||
cd rc$i.d
|
for i in 0 1 2 6; do
|
||||||
ln -s ../named K75named
|
cd rc$i.d
|
||||||
cd ..
|
ln -s ../named K75named
|
||||||
done
|
cd ..
|
||||||
for i in 3 4 5; do
|
done
|
||||||
cd rc$i.d
|
for i in 3 4 5; do
|
||||||
ln -s ../named S12named
|
cd rc$i.d
|
||||||
cd ..
|
ln -s ../named S12named
|
||||||
done
|
cd ..
|
||||||
cd $WDIR
|
done
|
||||||
|
cd $WDIR
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user