Index: trunk/init/samhain.startLinux.in
===================================================================
--- trunk/init/samhain.startLinux.in	(revision 481)
+++ trunk/init/samhain.startLinux.in	(revision 521)
@@ -40,6 +40,13 @@
 # and the command to run them.
 if [ -f /etc/redhat-release ]; then
+    if [ -f /etc/init.d/functions ]; then
 	. /etc/init.d/functions
 	DISTRO=redhat
+    elif [ -f /etc/rc.d/init.d/functions ]; then
+	. /etc/rc.d/init.d/functions
+	DISTRO=redhat
+    else
+	DISTRO=generic
+    fi
 elif [ -f /etc/mandrake-release ]; then
 	. /etc/init.d/functions
