[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkgsrc RC scripts
2009/10/3 Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
I am consider to make the RC script support in pkgsrc a bit more useful
out of the box with the following changes:
(1) Install pkgsrc RC scripts by default into /etc/rc.pkg.d, not
/etc/rc.d and adjust the default value for rc_directories accordingly.
This keeps the logical separation between base and pkgsrc RC scripts
and still allows /usr (or /usr/pkg) to be on a separate filesystem.
As long as there is an easy way to override this seems sane.
(2) Provide a default value of NO for the control variables. This
ensures that no stupid "Missing variable $foo" clutters up the boot
I'd prefer it if all of the pkgsrc rc.d scripts set some variable which rc could test to determine whether to warn about a missing variable (I'm happy for the warnings to default off, but it would allow toggling them back on for those who like that by setting a single additional var)
Main Index |
Thread Index |