--- /etc/init.d/wu-ftpd.ori 2009-03-11 12:46:38.000000000 +0100 +++ /etc/init.d/wu-ftpd 2009-03-11 12:46:52.000000000 +0100 @@ -39,7 +39,7 @@ fi # check that the FTP service isn't already enabled in inetd -if [ -f /etc/inetd.conf ] && [ -n `which inetd` ] && egrep '^ftp[[:space:]][[:space:]]*' /etc/inetd.conf >/dev/null; then +if [ -f /etc/inetd.conf ] && [ -n "`which inetd`" ] && egrep '^ftp[[:space:]][[:space:]]*' /etc/inetd.conf >/dev/null; then run_wu=0 fi