fi\r
AC_SUBST(sbindir)\r
\r
+if test -n "`grep -q 'release 6' /etc/redhat-release`"; then\r
+ AC_SUBST(rdmascript, rdma)\r
+else\r
+ AC_SUBST(rdmascript, openibd)\r
+fi\r
+\r
AC_CONFIG_FILES([Makefile ibacm.spec ibacm.init])\r
AC_OUTPUT\r
# Provides: ibacm
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
-# Required-Start: rdma $network
-# Required-Stop: rdma $network
+# Required-Start: @rdmascript@ $network
+# Required-Stop: @rdmascript@ $network
# Should-Start:
# Should-Stop:
# Short-Description: Starts and stops the InfiniBand ACM service