satip-axe/fs-add/etc/init.d/inetd
2015-04-20 16:29:23 +02:00

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