[dahdi-commits] sruffell: tools/trunk r5886 - /tools/trunk/dahdi.init

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Wed Jan 28 12:49:48 CST 2009


Author: sruffell
Date: Wed Jan 28 12:49:48 2009
New Revision: 5886

URL: http://svn.digium.com/svn-view/dahdi?view=rev&rev=5886
Log:
Use the dahdihpec_enable tool instead of the zaphpec_enable.

Issue: DAHDI-233
patch by: cmoye

Modified:
    tools/trunk/dahdi.init

Modified: tools/trunk/dahdi.init
URL: http://svn.digium.com/svn-view/dahdi/tools/trunk/dahdi.init?view=diff&rev=5886&r1=5885&r2=5886
==============================================================================
--- tools/trunk/dahdi.init (original)
+++ tools/trunk/dahdi.init Wed Jan 28 12:49:48 2009
@@ -109,28 +109,28 @@
 		return
 	fi
 
-	# zaphpec_enable not installed in /usr/sbin
-	if [ ! -f /usr/sbin/zaphpec_enable ]; then
-		echo -n "Running zaphpec_enable: Failed"
+	# dahdihpec_enable not installed in /usr/sbin
+	if [ ! -f /usr/sbin/dahdihpec_enable ]; then
+		echo -n "Running dahdihpec_enable: Failed"
 		echo -n "."
-		echo "  The zaphpec_enable binary is not installed in /usr/sbin."
+		echo "  The dahdihpec_enable binary is not installed in /usr/sbin."
 		return
 	fi
 
-	# zaphpec_enable not set executable
-	if [ ! -x /usr/sbin/zaphpec_enable ]; then
-		echo -n "Running zaphpec_enable: Failed"
+	# dahdihpec_enable not set executable
+	if [ ! -x /usr/sbin/dahdihpec_enable ]; then
+		echo -n "Running dahdihpec_enable: Failed"
 		echo -n "."
-		echo "  /usr/sbin/zaphpec_enable is not set as executable."
+		echo "  /usr/sbin/dahdihpec_enable is not set as executable."
 		return
 	fi
 
-	# zaphpec_enable properly installed
+	# dahdihpec_enable properly installed
 	if [ $system = debian ]; then
-		echo -n "Running zaphpec_enable: "
-		/usr/sbin/zaphpec_enable 2> /dev/null
+		echo -n "Running dahdihpec_enable: "
+		/usr/sbin/dahdihpec_enable 2> /dev/null
 	elif [ $system = redhat ]; then
-		action "Running zaphpec_enable: " /usr/sbin/zaphpec_enable
+		action "Running dahdihpec_enable: " /usr/sbin/dahdihpec_enable
 	fi
 	if [ $? = 0 ]; then
 		echo -n "done"
@@ -138,7 +138,7 @@
 	else
 		echo -n "Failed"
 		echo -n "."
-		echo "  This can be caused if you had already run zaphpec_enable, or if your HPEC license is no longer valid."
+		echo "  This can be caused if you had already run dahdihpec_enable, or if your HPEC license is no longer valid."
 	fi
 }
 




More information about the dahdi-commits mailing list