OSSP CVS Repository

ossp - Difference in ossp-pkg/rc/rc.example versions 1.7 and 1.8
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/rc/rc.example 1.7 -> 1.8

--- rc.example   2002/02/04 22:35:20     1.7
+++ rc.example   2002/02/12 17:59:50     1.8
@@ -50,7 +50,8 @@
 %go -u root
     @start  # A section with just one reference is an alias
 
-%error  # We have a rc (not user-level) error
+%error  # We have a rc error
+    logger -p local0.notice "OSSP rc error"
 # Very rough representation of built-in rc language
     +logit DAEMON CRITICAL;
     +outconsole ${rc_errstring}; # rc_errcode is also available
@@ -99,7 +100,8 @@
 !doit -u root
     &run    # A section with just one reference is an alias
 
-!problem # We have a rc (not user-level) error
+!problem # We have a rc error
+    logger -p local0.notice "OSSP rc error"
 # Very rough representation of built-in rc language
     +logit DAEMON CRITICAL;
     +outconsole ${rc_errstring}; # rc_errcode is also available
@@ -156,7 +158,8 @@
     <refer name=start> # A section with just one reference is an alias
 </go>
 
-<error> # We have a rc (not user-level) error
+<error> # We have a rc error
+    logger -p local0.notice "OSSP rc error"
 # Very rough representation of built-in rc language
     +logit DAEMON CRITICAL;
     +outconsole ${rc_errstring}; # rc_errcode is also available
@@ -240,9 +243,10 @@
         start REFER # A section with just one reference is an alias
     END
 
-error ERROR # We have a rc (not user-level) error
-# Very rough representation of built-in rc language
+error ERROR # We have a rc error
     BEGIN
+        logger -p local0.notice "OSSP rc error"
+    # Very rough representation of built-in rc language
         +logit DAEMON CRITICAL;
         +outconsole ${rc_errstring}; # rc_errcode is also available
         +outconsole "Runcommand-level error in line ";

CVSTrac 2.0.1