bkruse: branch asterisknow r1750 - in /branches/asterisknow: config/scripts/ ...

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri Oct 26 17:13:46 CDT 2007


Author: bkruse
Date: Fri Oct 26 17:13:46 2007
New Revision: 1750

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1750
Log:
Fixed zapscan and astman to not use absolute paths.


Modified:
    branches/asterisknow/config/scripts/astman.js
    branches/asterisknow/tools/zapscan

Modified: branches/asterisknow/config/scripts/astman.js
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/scripts/astman.js?view=diff&rev=1750&r1=1749&r2=1750
==============================================================================
--- branches/asterisknow/config/scripts/astman.js (original)
+++ branches/asterisknow/config/scripts/astman.js Fri Oct 26 17:13:46 2007
@@ -32,8 +32,8 @@
 var asterisk_menusRecord_path = asterisk_Sounds_path + "record/";
 var asterisk_guiSysInfo = "sh " + asterisk_scriptsFolder + "gui_sysinfo" ;
 var asterisk_guiSysInfo_output = "./sysinfo_output.html";
-var asterisk_guiZapscan = "/sbin/zapscan.bin" ;
-var asterisk_guiZtscan = "/sbin/ztscan";
+var asterisk_guiZapscan = "zapscan.bin" ;
+var asterisk_guiZtscan = "ztscan";
 var asterisk_guiMisdn = "misdn-init";
 var asterisk_guiMisdn_scan = "misdn-init scan > /var/lib/asterisk/static-http/scan.html";
 var asterisk_guiEditZap = "sh " + asterisk_scriptsFolder + "editzap.sh";

Modified: branches/asterisknow/tools/zapscan
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/tools/zapscan?view=diff&rev=1750&r1=1749&r2=1750
==============================================================================
--- branches/asterisknow/tools/zapscan (original)
+++ branches/asterisknow/tools/zapscan Fri Oct 26 17:13:46 2007
@@ -6,7 +6,7 @@
 	( echo "; Created by zapscan -- edit zapata.conf.zapscan instead" ; cat /etc/asterisk/zapata.conf.zapscan ) > /etc/asterisk/zapata.conf
 	rm -f /etc/asterisk/zapscan.conf
 	echo -n "Scanning for zaptel devices..."
-	if /sbin/zapscan.bin; then
+	if `which zapscan.bin`; then
 		echo "OK"
 	else
 		echo "Failed!"




More information about the asterisk-gui-commits mailing list