[svn-commits] tzafrir: branch 1.2 r2587 - /branches/1.2/zaptel.init

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Jun 7 14:17:44 MST 2007


Author: tzafrir
Date: Thu Jun  7 16:17:43 2007
New Revision: 2587

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2587
Log:
Remove useless backticks.

Modified:
    branches/1.2/zaptel.init

Modified: branches/1.2/zaptel.init
URL: http://svn.digium.com/view/zaptel/branches/1.2/zaptel.init?view=diff&rev=2587&r1=2586&r2=2587
==============================================================================
--- branches/1.2/zaptel.init (original)
+++ branches/1.2/zaptel.init Thu Jun  7 16:17:43 2007
@@ -194,7 +194,7 @@
 	[ $RETVAL -eq 0 ] && touch $LOCKFILE
 
 	# HPEC license found
-	if [ x`find /var/lib/digium/licenses/ -maxdepth 1 -name HPEC-\*.lic -printf yes` = xyes ]; then
+	if echo /var/lib/digium/licenses/HPEC-*.lic | grep -v '\*' | grep -q .; then
 		# zaphpec_enable not installed in /usr/sbin
 		if [ ! -f /usr/sbin/zaphpec_enable ]; then
 			echo -n "Running zaphpec_enable: Failed"



More information about the svn-commits mailing list