Compare commits

...

No commits in common. "v961" and "v963" have entirely different histories.
v961 ... v963

2 changed files with 28 additions and 15 deletions

11
etc/init/xinetd.conf Normal file
View File

@ -0,0 +1,11 @@
description "Startup xinet daemon after rpc"
author "Harald Kueller <harald.kueller@compuextreme.de>"
version 1.0
emits none special
start on (runlevel [2345] and (started rpc))
stop on (runlevel [016] and (stopping rpc))
console none
exec /usr/sbin/xinetd -filelog /var/log/xinetd.log -dontfork

View File

@ -30,19 +30,21 @@
# #
# #
WDIR=`pwd` if [ -d /var/install/sysvinit* ]; then
cd etc/init.d WDIR=`pwd`
chmod 755 xinetd cd etc/init.d
mkdir rc{0,1,2,3,4,5,6}.d chmod 755 xinetd
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 ../xinetd K75xinetd cd rc$i.d
cd .. ln -s ../xinetd K75xinetd
done cd ..
for i in 3 4 5; do done
cd rc$i.d for i in 3 4 5; do
ln -s ../xinetd S12xinetd cd rc$i.d
cd .. ln -s ../xinetd S12xinetd
done cd ..
cd $WDIR done
cd $WDIR
fi
~ ~