15 lines
257 B
Bash
Executable File
15 lines
257 B
Bash
Executable File
#!/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
|