ossp-pkg/rc/rc.conf
1.6
#
# OSSP rc rc.conf example
#
#### Inclusive options ####
dirs /usr/local/rc /export/home/macgyver/runcommands
#file /export/home/rc.init #practically only used on command line
tmp /var/tmp
verbose
#silent
debug
#raw
configsection config #name for config section in rcfile
commonsection common #name for common section in rcfile
rcfile 'rc.%s' #'rc.' followed by the program name
rcumask 002 #mask checked against rcfile permissions
deactivate OSSP_RC_DEACT #environment variable controls activation
interpreter /usr/bin/perl #command interpreter to use for script code
#RSE what about ${begin} regexref '(?<=^|\n)%%%s\s*(.+?)(?=\n|;)'
regexassign '(\s+)=(.*)$'
regexparam '..' #needs explanation
regexsection '(?<=^|\n)%%%s\s*\n(.+?)(?=\n%\S+|$)'
usage #flag
debug #flag
force #flag
version #flag
#conf #it's too late to set the conf file in the conf file
locate /cw/etc/rc.d:/etc/rc.d
eval #flag
func rc.iofunc \
rc.dbgfunc \
rc.exfunc
help #flag
info #flag
labels start
print #flag
query ${foovar:-foodefault}
silent #flag
raw #flag
tmp /var/tmp
verbose #flag
exec #flag