satip-axe/fs-add/etc/init.d/inetd

15 lines
257 B
Plaintext
Raw Normal View History

2015-04-20 16:11:11 +02:00
#!/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