History log of /netbsd-current/etc/rc.local
Revision Date Author Comments
# 1.32 11-Jun-2008 perry

make the example more generic, and include a test


# 1.31 09-Jun-2008 ad

Replace the example with something a bit more up to date.


# 1.30 23-Jul-2002 wennmach

branches: 1.30.32; 1.30.34; 1.30.36;
Capitalize "starting", as in rc.subr.


# 1.29 06-Oct-2000 hubertf

As we ship ssh in-tree now, replace the ssh startup example with one
for apache.


# 1.28 05-Oct-2000 hubertf

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.


# 1.27 24-Jul-2000 itojun

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


# 1.26 21-Jul-2000 lukem

match reality WRT rc.d...


# 1.25 19-Nov-1998 hubertf

branches: 1.25.10;
Fix syntax for sshd, per PR 6469 by Paul Dokas <dokas@cs.umn.edu>


# 1.24 04-Nov-1998 simonb

Change commented-out sshd startup to use /usr/pkg/etc/rc.d/sshd.sh


# 1.23 12-Feb-1998 mrg

make sshd startup less bogus, for now.


# 1.22 29-Aug-1997 veego

Add a check if sshd exists and comment out the sshd startup and the test.
Not everyone has a sshd on his system.


# 1.21 28-Aug-1997 cjs

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.


# 1.20 18-Apr-1997 perry

move last items from rc.local to rc; rc.local is now actually for local stuff.


# 1.19 12-Mar-1997 mycroft

Eliminate another `X'.


# 1.18 25-Feb-1997 mikel

merge in 4.4BSD-Lite2 changes. only SCCS IDs were changed, since all
of the lite1-lite2 differences were either already present or
inappropriate.


# 1.17 15-Feb-1997 mikel

cleanup Lite-1 merge


# 1.16 06-Jan-1997 tls

The Kerberos server host should run kadmind, so users can change their passwords!


# 1.15 05-Jan-1997 mrg

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.


# 1.14 16-Dec-1995 thorpej

New-style RCS ids.


# 1.13 02-Aug-1995 cgd

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.


# 1.12 24-Aug-1994 mycroft

Avoid updating the motd time stamp if it's unchanged.


# 1.11 23-Aug-1994 mycroft

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.


# 1.10 18-Jun-1994 cgd

branches: 1.10.2;
if install will do the trick, why not use it\?


# 1.9 16-Jun-1994 deraadt

motd defaults to 664 root:wheel, and the mode is not changed every reboot


# 1.8 02-Jun-1994 jtc

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.


# 1.7 12-May-1994 cgd

get kernel version with sysctl


# 1.6 04-May-1994 cgd

new way of getting kernel id string. will change again soon.


# 1.5 22-Dec-1993 cgd

don't use kernfs, use strings, to get kernel version


# 1.4 15-Dec-1993 mycroft

Use `.' to run rc.local, rather than starting another shell, so that variables
from netstart are passed on.


# 1.3 27-Apr-1993 cgd

386bsd -> NetBSD


# 1.2 02-Apr-1993 cgd

get version from /kern/version, if exists, else ???


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


# 1.1.1.3 25-Feb-1997 mikel

import 4.4BSD-Lite2


# 1.1.1.2 14-Feb-1997 mikel

import 4.4BSD-Lite


# 1.1.1.1 21-Mar-1993 cgd

initial import of 386bsd-0.1 sources


# 1.10.2.2 24-Aug-1994 mycroft

update from trunk


# 1.10.2.1 23-Aug-1994 mycroft

update from trunk


# 1.25.10.2 07-Oct-2000 hubertf

Pull up rev. 1.27->1.29 to netbsd-1-5 branch, OK'd by thorpej:

1.28->1.29:
> As we ship ssh in-tree now, replace the ssh startup example with one
> for apache.

1.27->1.28:
> 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.


# 1.25.10.1 09-Aug-2000 lukem

pull up revisions 1.26-1.27
approved by: thorpej

1.26:
match reality WRT rc.d...

1.27:
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


# 1.30.36.1 22-Jun-2008 wrstuden

Sync w/ -current. 34 merge conflicts to follow.


# 1.30.34.1 17-Jun-2008 yamt

sync with head.


# 1.30.32.1 29-Jun-2008 mjf

Sync with HEAD.