summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/sshd
Commit message (Collapse)AuthorAgeFilesLines
* Add the shutdown KEYWORD to those scripts that start persistent servicesdougb2008-07-161-0/+1
| | | | | | | | | | | to allow them to do a "clean" shutdown. I purposely avoided making changes to network-related stuff since the system shutting down is pretty conclusive, and there may be complicated dependencies on the network that I would rather not try to unravel. I also skipped kerberos-related stuff for the reasons above, and because I have no way to test it.
* Remove $NetBSD$ CVS tags. We no longer attempt to synch our rc.d filesdougb2007-12-081-1/+0
| | | | | with theirs, so this information doesn't need to be in the live file. Having it in our CVS history is enough.
* Backout this commit since it breaks startup and some scripts inflz2006-08-221-17/+16
| | | | | | | | | | | | | | | | | certain conditions. I haven't been able to find a better solution yet: - Set a two read-only variables (${prefix} and ${etcdir}). This is especially useful when using /etc/rc.d scripts with third-party software installed from ports. - Fix rc.d/sshd to work with openssh from ports using ${etcdir} instead of hardcoded /etc. - Reflect prefix/etcdir changes in rc.subr.8. src/etc/rc.d/sshd: rev 1.9 -> 1.10 src/etc/rc.subr: rev 1.51 -> 1.52 src/share/man/man8/rc.subr.8: rev 1.11 -> 1.12 Approved by: cperciva (mentor)
* - Fix rc.d/sshd test on kern.random.sys.seeded.flz2006-04-111-1/+1
| | | | | | | PR: conf/94377 Submitted by: dwhite Approved by: cperciva (mentor) MFC after: 1 week
* - Set a two read-only variables (${prefix} and ${etcdir}). This isflz2006-04-111-16/+17
| | | | | | | | | | | especially useful when using /etc/rc.d scripts with third-party software installed from ports. - Fix rc.d/sshd to work with openssh from ports using ${etcdir} instead of hardcoded /etc. Reviewed by: brooks Approved by: cperciva (mentor) MFC after: 1 week
* Don't be lazy, set the "command" variable even ifyar2005-10-231-0/+1
| | | | | | | | | | /etc/defaults/rc.conf will provide foo_program, too. By specifying "command" we explicitly say that we're going to rely on rc.subr(8) default methods, and rc.subr(8) will take advantage of this soon. The majority of our rc.d scripts already set "command" if appropriate, so fix just the non-compliant handful.
* "REQUIRE: cleanvar" for all RC's writing into /var/run.obrien2005-01-161-1/+1
|
* Remove the requirement for the FreeBSD keyword as it no longermtm2004-10-071-1/+0
| | | | | | | makes any sense. Discussed with: dougb, brooks MFC after: 3 days
* Give sshd a secure startup, but with a tweakable timeout so thatmarkm2004-08-041-0/+25
| | | | the box won't hang forever at startup.
* Luke Mewburn has indicated that they (NetBSD) are not interestedmtm2004-01-171-6/+0
| | | | | | | | | in keeping the scripts under rc.d in sync with us. So, remove NetBSD specific stuff (which made our scripts more complicated than necessary). The NetBSD ident string will be left intact, both for history and also incase we wish to pull in future versions.
* Luke Mewburn has indicated that they (NetBSD) are not interestedmtm2004-01-171-1/+1
| | | | | | in keeping the scripts under rc.d in sync with us. So, begin removal of NetBSD specific stuff (which made our scripts more complicated than necessary), starting with the NetBSD KEYWORD.
* Not everyone uses the base system sshd. They can use the sshd_programmtm2003-07-131-2/+6
| | | | | | | | variable in rc.conf to have sshd from ports (or somewhere else) installed. So, don't make the sshd_config for the base system a required file to start the service. PR: conf/45766
* Merge in all the changes that Mike Makonnen has been maintaining for agordon2002-06-131-18/+40
| | | | | | | | while. This is only the script pieces, the glue for the build comes next. Submitted by: Mike Makonnen <makonnen@pacbell.net> Reviewed by: silence on -current and -hackers Prodded by: rwatson
* Import the NetBSD 1.5 RC system.obrien2001-06-161-0/+48
Note that `rc' and `rc.shutdown' could not be imported because we already have files with those names.
OpenPOWER on IntegriCloud