Index: ossp-pkg/rc/Makefile.am RCS File: /v/ossp/cvs/ossp-pkg/rc/Attic/Makefile.am,v co -q -kk -p'1.3' '/v/ossp/cvs/ossp-pkg/rc/Attic/Makefile.am,v' | diff -u - /dev/null -L'ossp-pkg/rc/Makefile.am' 2>/dev/null --- ossp-pkg/rc/Makefile.am +++ /dev/null 2024-05-02 16:15:36.000000000 +0200 @@ -1,12 +0,0 @@ -bin_PROGRAMS = rc -rc_SOURCES = rc.c -noinst_HEADERS = \ - rc_p.h \ - rc.h - -EXTRA_DIST = \ - autogen.sh\ - AUTHORS \ - TODO \ - README \ - configure Index: ossp-pkg/rc/rc_test.sh RCS File: /v/ossp/cvs/ossp-pkg/rc/rc_test.sh,v rcsdiff -q -kk '-r1.1' '-r1.2' -u '/v/ossp/cvs/ossp-pkg/rc/rc_test.sh,v' 2>/dev/null --- 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
[
...] { +# foreach dir in --dir=dir1:dir2:.. { +# search for --rcfile where %s is +# parse rcfile into blocks according to --regex-section/etc. +# remember common/
into list +# } +# // we now have an unsorted list of common/
+# sort list of common/
according to their priority (see --regex-param) +# +# // execution +# forearch common/
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) +# } +#} +#