summaryrefslogtreecommitdiff
path: root/net/samba/files/smbd.sh
AgeCommit message (Collapse)AuthorFilesLines
2002-09-20Make these scripts more portable by taking advantage of automatic rc.dgrant1-2/+2
script handling and using @RCD_SCRIPTS_SHELL@. as discussed with jlam.
2002-02-05Solaris' test binary (test/[) doesn't grok "-e". Replace with "-f".jlam1-3/+3
Noted by Stoned Elipot <seb@netbsd.org> in private email.
2001-11-21These rc.d scripts are copied to ${RCD_SCRIPTS_DIR} == /etc/rc.d, so changejlam1-6/+6
the test for pre-rc.d systems to just whether /etc/rc.subr is present.
2001-11-21Use the general INSTALL/DEINSTALL scripts instead of the homegrown ones.jlam1-0/+28
Also split the one rc.d script into one for each daemon and one admin script (idea from Luke Mewburn <lukem@wasabisystems.com>).
2001-08-22Consolidate nmbd and smbd rc.d scripts into one "samba" script. Kindlyjlam1-26/+0
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).
2001-08-20smbd responds to SIGHUP by reloading its configuration file, so addjlam1-1/+2
"reload" to the rc.d command listing. Noted by Luke Mewburn <lukem@wasabisystems.com>.
2001-08-17Undo changes from previous patch from pkg/12921. The rc.d-style startupjlam1-2/+3
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.
2001-05-13Don't set $command_args, set ${smbd,nmbd}_flags instead.wiz1-3/+3
Patch provided in pkg/12921 by Paul Goyette.
2001-02-04Replace monolithic old style startup script with two new style startuptron1-0/+24
scripts which include backward compatibility for pre 1.5 systems.