[aadk-commits] dbailey: uClinux/trunk r535 - /uClinux/trunk/uClinux-dist/vendors/Digium/S800...
SVN commits to the AADK repository
aadk-commits at lists.digium.com
Fri Jul 20 16:46:57 CDT 2007
Author: dbailey
Date: Fri Jul 20 16:46:56 2007
New Revision: 535
URL: http://svn.digium.com/view/aadk?view=rev&rev=535
Log:
Add a simple script that kills off asterisk and keeps the watchdog monitor satisfied that an asterisk application is running.
Added:
uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/asterisk.watchdogholdoff (with props)
Added: uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/asterisk.watchdogholdoff
URL: http://svn.digium.com/view/aadk/uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/asterisk.watchdogholdoff?view=auto&rev=535
==============================================================================
--- uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/asterisk.watchdogholdoff (added)
+++ uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/asterisk.watchdogholdoff Fri Jul 20 16:46:56 2007
@@ -1,0 +1,10 @@
+#!/bin/sh
+
+# This script provides a means of killing off asterisk while preventing
+# the watchdog from restarting the appliance (due to the script's name
+# starting with "asterisk".) The intent is to hold the watchdog
+# off while debugging situations where asterisk cannot run.
+
+killall -9 asterisk
+
+sleep 100000 # Sleep for longer than 1 day.
Propchange: uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/asterisk.watchdogholdoff
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/asterisk.watchdogholdoff
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/asterisk.watchdogholdoff
------------------------------------------------------------------------------
svn:mime-type = text/plain
More information about the aadk-commits
mailing list