Age | Commit message (Collapse) | Author | Files | Lines |
|
script handling and using @RCD_SCRIPTS_SHELL@.
as discussed with jlam.
|
|
Noted by Stoned Elipot <seb@netbsd.org> in private email.
|
|
the test for pre-rc.d systems to just whether /etc/rc.subr is present.
|
|
Also split the one rc.d script into one for each daemon and one admin
script (idea from Luke Mewburn <lukem@wasabisystems.com>).
|
|
provided by Luke Mewburn <lukem@wasabisystems.com> with modifications by
me to allow running on older NetBSD systems (so any errors in the script
are mine alone).
|
|
"reload" to the rc.d command listing. Noted by Luke Mewburn
<lukem@wasabisystems.com>.
|
|
scripts need for the nmbd and smbd programs to always start in daemom-mode,
which is why the "-D" flag was set via command_args in the scripts
themselves. Any additional options should be passed in through the
{nmbd,smbd}_flags settings in /etc/rc.conf. Add comments to reflect this
in the scripts.
The error reported by the PR author is most likely due to either installing
these scripts with ".sh" extensions, which is not how these are installed
into the ${PREFIX}/etc/rc.d and is definitely wrong, or in directly
sourcing these files from an rc.local script, which is again, definitely
wrong.
|
|
Patch provided in pkg/12921 by Paul Goyette.
|
|
scripts which include backward compatibility for pre 1.5 systems.
|