Remove handling of "lrrd"

The "lrrd" service seems to be some historical cruft, that is no longer
in use.  It is still an alias for the "munin" service (port 4949) in
/etc/services, but probably not in use anymore.
This commit is contained in:
Lars Kruse 2020-07-19 15:44:50 +02:00
parent 670a871835
commit 710334b615
1 changed files with 1 additions and 6 deletions

View File

@ -22,12 +22,7 @@
if [ -f /sbin/inetd ]; then if [ -f /sbin/inetd ]; then
if grep "^lrrd" /etc/inetd.conf >/dev/null 2>&1; then echo "munin stream tcp nowait root /usr/local/bin/muninlite" >> /etc/inetd.conf
echo "muninlite can not start as lrrd is already in use"
exit 1
else
echo "lrrd stream tcp nowait root /usr/local/bin/muninlite" >> /etc/inetd.conf
fi
PID=$(ps | grep -v grep | grep inetd | sed 's/^ \{1,\}//' | cut -d\ -f1) PID=$(ps | grep -v grep | grep inetd | sed 's/^ \{1,\}//' | cut -d\ -f1)
if [ ! -z "$PID" ]; then if [ ! -z "$PID" ]; then
echo "inetd already running.. restarting.." echo "inetd already running.. restarting.."