OSSP CVS Repository

ossp - Check-in [1678]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1678
Date: 2002-Jan-29 09:48:13 (local)
2002-Jan-29 08:48:13 (UTC)
User:ms
Branch:
Comment: Remove automake macros.

PR: Submitted by: Reviewed by: Approved by: Obtained from:

Tickets:
Inspections:
Files:
ossp-pkg/rc/Makefile.am      1.3->removed
ossp-pkg/rc/rc_test.sh      1.1 -> 1.2     41 inserted, 1 deleted

ossp-pkg/rc/Makefile.am 1.3 -> 1.4



ossp-pkg/rc/rc_test.sh 1.1 -> 1.2

--- rc_test.sh   2002/01/08 15:47:11     1.1
+++ rc_test.sh   2002/01/29 08:48:13     1.2
@@ -27,4 +27,44 @@
 #
 #  test_rc.sh: Runcommand processor test script
 
-echo "Eat a OSSP frog"
+#Pre:
+#tar zxvf ossprc-0.9.tar.gz
+#cd ossprc-0.9
+#./configure
+#make
+#su
+#make install
+#export OSSP_RC_ROOT=/etc/ossprc/
+#
+#Assume:
+#Installed program 'mycom' in /usr/local/bin/mycom
+#Valid OSSP run command file rc.mycom in /etc/ossprc/rc.d
+#File rc.mycom contains the sections start, sync, and restart
+#
+#Begin:
+#$ rc mycom start sync restart
+#
+#Output:
+#
+#Post:
+#
+#Procedure:
+#
+#foreach sec in <section> [<section> ...] {
+#    foreach dir in --dir=dir1:dir2:.. {
+#        search for --rcfile where %s is <package>
+#        parse rcfile into blocks according to --regex-section/etc.
+#        remember common/<section> into list
+#    }
+#    // we now have an unsorted list of common/<section>
+#    sort list of common/<section> according to their priority (see --regex-param)
+#
+#    // execution
+#    forearch common/<section> in list {
+#        prepend config section
+#        prepend common section
+#        expand references accordingf to --regex-reference
+#        execute result as user/group (see --regex-param) with interpreter (see --regex-param)
+#    }
+#}
+#

CVSTrac 2.0.1