[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-svn
Subject:    [Ipcop-svn] SF.net SVN: ipcop:[3508] ipcop/trunk/src/rc.d
From:       owes () users ! sourceforge ! net
Date:       2009-08-28 18:01:05
Message-ID: E1Mh5l3-0001wd-0v () dn4whf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 3508
          http://ipcop.svn.sourceforge.net/ipcop/?rev=3508&view=rev
Author:   owes
Date:     2009-08-28 18:01:04 +0000 (Fri, 28 Aug 2009)

Log Message:
-----------
Call rc.event.local for system up/down events.
If there are no objections I will drop rc.local.

Modified Paths:
--------------
    ipcop/trunk/src/rc.d/rc.halt
    ipcop/trunk/src/rc.d/rc.sysinit

Modified: ipcop/trunk/src/rc.d/rc.halt
===================================================================
--- ipcop/trunk/src/rc.d/rc.halt	2009-08-28 17:44:54 UTC (rev 3507)
+++ ipcop/trunk/src/rc.d/rc.halt	2009-08-28 18:01:04 UTC (rev 3508)
@@ -139,6 +139,7 @@
 if [ "$IPCOPUPDOWNBEEP" = "on" ]; then
     /usr/bin/beep -l 250 -f 514 -n -l 250 -f 343 -n -l 250 -f 686 -n -l 250 -f 864 \
-n -l 500 -f 770  fi
+/etc/rc.d/rc.event.local system down
 
 if [ "$1" = "halt" ]; then
     /sbin/halt -i -d -p

Modified: ipcop/trunk/src/rc.d/rc.sysinit
===================================================================
--- ipcop/trunk/src/rc.d/rc.sysinit	2009-08-28 17:44:54 UTC (rev 3507)
+++ ipcop/trunk/src/rc.d/rc.sysinit	2009-08-28 18:01:04 UTC (rev 3508)
@@ -393,6 +393,7 @@
 
 echo "Running rc.local"
 /etc/rc.d/rc.local
+/etc/rc.d/rc.event.local system up
 
 /usr/bin/logger -t ipcop "IPCop started."
 


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic