Commit Graph

32 Commits

Author SHA1 Message Date
perry dc28a7678e make the example more generic, and include a test 2008-06-11 17:14:52 +00:00
ad 0964f00a45 Replace the example with something a bit more up to date. 2008-06-09 21:58:57 +00:00
wennmach ac8c056486 Capitalize "starting", as in rc.subr. 2002-07-23 10:48:01 +00:00
hubertf 68da9ad9ab As we ship ssh in-tree now, replace the ssh startup example with one
for apache.
2000-10-07 00:22:44 +00:00
hubertf 316c9bbfc5 the ssh pkgs now install a /usr/pkg/etc/rc.d/sshd, not
/usr/pkg/etc/rc.d/sshd.sh.

Whether the existence of this lines is useful with ssh in tree is
a seperate issue.
2000-10-05 12:46:34 +00:00
itojun 674467bac8 add "start" argument to sshd.sh.
- sshd.sh comes with pkgsrc/security/openssh requires "start" argument
- sshd.sh comes with pkgsrc/security/{ssh,ssh6} does not care about argument
- it seems to me, from license twists, openssh installation will get
  more popular
2000-07-24 10:10:05 +00:00
lukem 1a54e63fe1 match reality WRT rc.d... 2000-07-22 01:50:30 +00:00
hubertf deee1418c3 Fix syntax for sshd, per PR 6469 by Paul Dokas <dokas@cs.umn.edu> 1998-11-20 17:26:32 +00:00
simonb 0c3c3e6c25 Change commented-out sshd startup to use /usr/pkg/etc/rc.d/sshd.sh 1998-11-05 01:36:09 +00:00
mrg 2f794bc82c make sshd startup less bogus, for now. 1998-02-12 14:37:57 +00:00
veego fb559c8dc2 Add a check if sshd exists and comment out the sshd startup and the test.
Not everyone has a sshd on his system.
1997-08-29 10:29:07 +00:00
cjs c3b0e18db8 Split rc.conf variables for starting programs into two: an on/off
switch and a set of flags. Get rid of DEFAULT flags entirely. Print
warnings if on/off switches are not set, or are set incorrectly.
Add a shell function to simplify this on/off switch testing.
1997-08-29 02:24:04 +00:00
perry 8c70b4d638 move last items from rc.local to rc; rc.local is now actually for local stuff. 1997-04-19 03:10:57 +00:00
mycroft 100297bdf2 Eliminate another `X'. 1997-03-12 19:23:32 +00:00
mikel 1e59980d14 merge in 4.4BSD-Lite2 changes. only SCCS IDs were changed, since all
of the lite1-lite2 differences were either already present or
inappropriate.
1997-02-25 07:37:19 +00:00
mikel ef538c3176 cleanup Lite-1 merge 1997-02-15 10:02:07 +00:00
tls 9d9af955fb The Kerberos server host should run kadmind, so users can change their passwords! 1997-01-07 04:35:50 +00:00
mrg 3b98afb4c5 move start-time configuration from netstart, rc, rc.local into
the new /etc/rc.conf.  this also includes the following changes:

	netstart:  ifaliases now includes a netmask, to ensure
		   aliases work.

	rc/rc.local:  make _everything_ based on configuration
	in rc.conf.  also move things around such that DNS and
	YP are started early enough that other daemons needing
	their services also exist.  move ldconfig from rc.local
	here, and also make it use /etc/ld.so.conf if it exists.
	run /etc/rc.lkm if it exists, a boot time.
1997-01-05 12:01:54 +00:00
thorpej 0763a85671 New-style RCS ids. 1995-12-17 02:01:10 +00:00
cgd 5cc7bd1eef move the ldconfig to before the local daemons (so that people put
weird ldconfigs there, so that local daemons can use them), and only
run ldconfig if it exists.
1995-08-02 19:29:30 +00:00
mycroft a3f993944d Avoid updating the motd time stamp if it's unchanged. 1994-08-24 07:11:36 +00:00
mycroft 0797399a73 Remove a use of sed(1), and use head(1) instead. Also, add a comment
regarding the motd time stamps, with a suggested change for people who would
rather it wasn't always updated.
1994-08-24 05:04:33 +00:00
cgd 5a9c3f0a89 if install will do the trick, why not use it\? 1994-06-18 06:38:54 +00:00
deraadt f9ee61ab81 motd defaults to 664 root:wheel, and the mode is not changed every reboot 1994-06-16 18:59:14 +00:00
jtc 7bb3055523 Move building of link editor cache from rc to rc.local, like in SunOS,
because the end user may need to add local directories to be searched.
And rc.local is a much more appropriate place for local changes.

I emailed pk on this matter, and he said that the overhead of not
having linker hints for the daemons started by rc would not be
significant.

This change also closes bug #217.
1994-06-03 05:02:10 +00:00
cgd 6749324f75 get kernel version with sysctl 1994-05-12 08:13:54 +00:00
cgd a008d06873 new way of getting kernel id string. will change again soon. 1994-05-05 05:46:24 +00:00
cgd fb97fd8ad0 don't use kernfs, use strings, to get kernel version 1993-12-22 14:03:32 +00:00
mycroft d1da713410 Use `.' to run rc.local, rather than starting another shell, so that variables
from netstart are passed on.
1993-12-15 07:24:31 +00:00
cgd e11fa48691 386bsd -> NetBSD 1993-04-28 05:16:15 +00:00
cgd 33a637b4eb get version from /kern/version, if exists, else ??? 1993-04-03 01:40:29 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00