diff --git a/examples/post-muninlite.ini b/examples/post-muninlite.ini index 9d48c0f..4df1e1c 100644 --- a/examples/post-muninlite.ini +++ b/examples/post-muninlite.ini @@ -22,12 +22,7 @@ if [ -f /sbin/inetd ]; then - if grep "^lrrd" /etc/inetd.conf >/dev/null 2>&1; then - 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 + echo "munin stream tcp nowait root /usr/local/bin/muninlite" >> /etc/inetd.conf PID=$(ps | grep -v grep | grep inetd | sed 's/^ \{1,\}//' | cut -d\ -f1) if [ ! -z "$PID" ]; then echo "inetd already running.. restarting.."