Compare commits
No commits in common. "v961" and "v963" have entirely different histories.
11
etc/init/xinetd.conf
Normal file
11
etc/init/xinetd.conf
Normal 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
|
20
init/genpkg
20
init/genpkg
@ -30,19 +30,21 @@
|
||||
#
|
||||
#
|
||||
|
||||
WDIR=`pwd`
|
||||
cd etc/init.d
|
||||
chmod 755 xinetd
|
||||
mkdir rc{0,1,2,3,4,5,6}.d
|
||||
for i in 0 1 2 6; do
|
||||
if [ -d /var/install/sysvinit* ]; then
|
||||
WDIR=`pwd`
|
||||
cd etc/init.d
|
||||
chmod 755 xinetd
|
||||
mkdir rc{0,1,2,3,4,5,6}.d
|
||||
for i in 0 1 2 6; do
|
||||
cd rc$i.d
|
||||
ln -s ../xinetd K75xinetd
|
||||
cd ..
|
||||
done
|
||||
for i in 3 4 5; do
|
||||
done
|
||||
for i in 3 4 5; do
|
||||
cd rc$i.d
|
||||
ln -s ../xinetd S12xinetd
|
||||
cd ..
|
||||
done
|
||||
cd $WDIR
|
||||
done
|
||||
cd $WDIR
|
||||
fi
|
||||
~
|
||||
|
Loading…
Reference in New Issue
Block a user