15 lines
257 B
Plaintext
15 lines
257 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
test -r /etc/sysconfig/config && . /etc/sysconfig/config
|
||
|
|
||
|
if test "$INETD" != "yes"; then
|
||
|
exit 0
|
||
|
fi
|
||
|
|
||
|
if test -r /etc/sysconfig/inetd.conf ; then
|
||
|
rm /etc/inetd.conf
|
||
|
ln -s /etc/sysconfig/inetd.conf /etc/inetd.conf
|
||
|
fi
|
||
|
|
||
|
exec /usr/sbin/inetd -f
|