# # 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 defaultsection 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 regex-sec '(?<=^|\n)%%%s\s*\n(.+?)(?=\n%\S+|$)' regex-ref '(?<=^|\n)%%%s\s*(.+?)(?=\n|;)' regex-assign '(\s+)=(.*)$' regex-param '..' #needs explanation #conf it's not possible to set the conf file in the conf file func rc.iofunc \ rc.dbgfunc \ rc.exfunc force #flag dirs /cw/etc/rc.d:/etc/rc.d tmp /var/tmp verbose #flag silent #flag debug #flag raw #flag help #flag usage #flag version #flag print #flag eval #flag exec #flag query ${foovar:-foodefault} labels start info #flag