[aadk-commits] dbailey: uClinux/trunk r510 - /uClinux/trunk/uClinux-dist/vendors/Digium/S800...

SVN commits to the AADK repository aadk-commits at lists.digium.com
Tue Jul 10 21:59:37 CDT 2007


Author: dbailey
Date: Tue Jul 10 21:59:37 2007
New Revision: 510

URL: http://svn.digium.com/view/aadk?view=rev&rev=510
Log:
add dummy script to keep the watchdog from timing out
shut down asterisk before running fxo_tune

Modified:
    uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/fxotune_all

Modified: uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/fxotune_all
URL: http://svn.digium.com/view/aadk/uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/fxotune_all?view=diff&rev=510&r1=509&r2=510
==============================================================================
--- uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/fxotune_all (original)
+++ uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/fxotune_all Tue Jul 10 21:59:37 2007
@@ -1,2 +1,23 @@
 #!/bin/sh
+
+# create small shell program that will keep the watchdog application (procwatch) 
+#	thinking that a valid asterisk is running
+
+echo "#!/bin/sh" >/asterisk.dummy
+echo "sleep 1000" >>/asterisk.dummy
+chmod 755 /asterisk.dummy
+/asterisk.dummy &
+
+# Kill asterisk to allow fxotune access to all the fxo ports
+asterisk -rx "stop now" 
+
+# Allow things to settle
+sleep 5
+
+#run fxotune to tune the ports
 fxotune -i -b 1 -e 8 
+
+echo "FXO tuning is complete!!"
+echo "You must run \"save_config\" in order to save these parameters accross reboots."
+echo "You should run \"reboot\" to restart your appliance."
+




More information about the aadk-commits mailing list