summaryrefslogtreecommitdiff
path: root/pkgtools/rc.subr
AgeCommit message (Collapse)AuthorFilesLines
2003-07-06update to 20030706. sync with -current:grant2-9/+3
---------------------------- revision 1.59 date: 2003/07/04 14:14:10; author: lukem; state: Exp; lines: +1 -7 Revert previous; the "return" if rc.subr had already loaded had issues in some circumstances where run_rc_script()'s sourcing of an rc.d file which then sourced rc.subr, the `optimisation' in rc.subr to "return as we're already loaded" would finish more than just the inner-most sourcing. I haven't tracked down the exact issue, but removing the `optimisation' fixes the problem I noticed in starting up certain rc.d scripts, and may fix [bin/22053] as well.
2003-06-28update to 20030627. sync with -current:grant2-7/+13
---------------------------- revision 1.58 date: 2003/06/27 05:01:21; author: lukem; state: Exp; lines: +7 -1 If _rc_subr_loaded=true, "return" immediately, otherwise set that var and continue as normal. Gains ~ 2 seconds on 110 runs of ". rc.subr" on a shark. Suggested by Andrew Cagney in [bin/18400] ---------------------------- revision 1.57 date: 2003/06/27 04:06:01; author: lukem; state: Exp; lines: +2 -2 run_rc_command(): when checking if ${command} exists before executing it, be sure to check under ${name_chroot} (if set). Fix from Ed Ravin in [bin/18523] ---------------------------- revision 1.56 date: 2003/06/03 14:00:45; author: christos; state: Exp; lines: +4 -4 Use more concise shell syntax: 1. for i in $* -> for i 2. foo=$* -> foo="$@"
2003-06-23Allow this to work on Linux (at least Slackware 8.1).grant2-4/+16
2003-06-23no need for defaults/rc.conf.grant4-273/+6
minor whitespace fix. bump to 20030622.
2003-06-19Initial import of rc.subr into The NetBSD Packages Collection.grant10-0/+1294
This package allows you to use rc.subr-style rc scripts (such as those included in pkgsrc) on other operating systems.