Hi...

Current xinetd-2.3.3-1mdk has a bug in /etc/init.d/xinetd:

werewolf:/etc/init.d# service xinetd start
/etc/init.d/xinetd: line 115: syntax error: unexpected end of file

This makes it work:

--- xinetd.orig Sun Sep  2 16:01:45 2001
+++ xinetd      Sun Sep  2 16:03:29 2001
@@ -31,7 +31,7 @@
 # Check that networking is up.
 [ -z "$NETWORKING" -o "$NETWORKING" = "no" ] && exit 0
 
-[ -e /usr/sbin/xinetd ] || { echo "/usr/sbin/xinetd doen't exist";exit 1 }
+[ -e /usr/sbin/xinetd ] || ( echo "/usr/sbin/xinetd doen't exist";exit 1 )
 [ -f /etc/xinetd.conf ] || exit 1
 RETVAL=0

(note the parens vs braces...)

By.


-- 
J.A. Magallon                           #  Let the source be with you...        
mailto:[EMAIL PROTECTED]
Mandrake Linux release 8.1 (Cooker) for i586
Linux werewolf 2.4.9-ac5 #1 SMP Fri Aug 31 09:56:08 CEST 2001 i686

Reply via email to