OSSP CVS Repository

ossp - Difference in ossp-pkg/rc/rc_test.sh versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

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