OpenBSD CVS

CVS log for src/etc/Attic/rc.local


[BACK] Up to [local] / src / etc

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.45, Mon Jul 14 09:04:02 2014 UTC (9 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.44: +1 -1 lines
FILE REMOVED

rc.{local,securelevel,shutdown} become examples.  If versions of them
are created in /etc, they are executed (they used to be sourced) to
avoid polluting the rc variable space.  The powerdown= and securelevel=
features are removed; they are likely only used by 2 people.  the
secureleve is now always raised; this is the only sensible default.
ok ajacoutot

Revision 1.44 / (download) - annotate - [select for diffs], Fri Apr 22 06:08:14 2011 UTC (13 years ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.43: +1 -13 lines
Diff to previous 1.43 (colored)

Move the rc.d(8) bits from rc.{local,shutdown} directly into /etc/rc.
By default, rc.{local,shutdown} don't output anything anymore.

original idea from schwarze@
discussed with deraadt@ and no objection from millert@
ok schwarze@ robert@

Revision 1.43 / (download) - annotate - [select for diffs], Mon Apr 18 18:08:20 2011 UTC (13 years, 1 month ago) by robert
Branch: MAIN
Changes since 1.42: +9 -7 lines
Diff to previous 1.42 (colored)

do not print 'starting local daemons' if rc_scripts is empty
asked by/ok deraadt@, ajacoutot@

Revision 1.42 / (download) - annotate - [select for diffs], Thu Mar 17 16:43:51 2011 UTC (13 years, 2 months ago) by robert
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

- introduce the INRC environment variable so that rc.subr(8) knows if it
  gets called from rc.local or rc.shutdown
- notify the user if a given operation was successfull or not by appending
  the (ok) or (failed) strings to the end of the daemon name
- hide stdout and stdin unless RC_DEBUG=1 is set, otherwise all the function
  names will be printed out and all output sent to stdin or stdout
- since from now on rc.subr is taking care of printing out the daemon names
  on startup, we don't need to do this from rc.{local,shutdown} anymore

brainkilling work done by me and ajacoutot@, ok ajacoutot@

Revision 1.41 / (download) - annotate - [select for diffs], Fri Nov 5 10:03:00 2010 UTC (13 years, 6 months ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

Print the daemon name _before_ starting the corresponding rc script.

"makes sense" schwarze@, ok robert@

Revision 1.40 / (download) - annotate - [select for diffs], Tue Oct 26 20:56:03 2010 UTC (13 years, 6 months ago) by robert
Branch: MAIN
Changes since 1.39: +5 -2 lines
Diff to previous 1.39 (colored)

Add a simple 'rc' system to base in order to start/stop/restart/reload
services installed by the ports system (for now).
It only uses pgrep/pkill to handle these processes. A manual page will
come later.

'put it in' deraadt@

Revision 1.39 / (download) - annotate - [select for diffs], Fri Jul 28 20:19:46 2006 UTC (17 years, 9 months ago) by sturm
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.38: +4 -23 lines
Diff to previous 1.38 (colored)

remove port startup code, it's all moved to the respective port

ok deraadt, toby, pedro, david

Revision 1.38 / (download) - annotate - [select for diffs], Tue Mar 29 21:41:59 2005 UTC (19 years, 1 month ago) by uwe
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

comment fix; ok beck@

Revision 1.37 / (download) - annotate - [select for diffs], Mon Feb 7 06:08:10 2005 UTC (19 years, 3 months ago) by david
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

indentation whitespace nits

Revision 1.36 / (download) - annotate - [select for diffs], Tue Jul 6 04:03:41 2004 UTC (19 years, 10 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.35: +1 -17 lines
Diff to previous 1.35 (colored)

remove startup code for that other ntpd from ports and use the one
in base instead. theo ok & rush to go for beer

Revision 1.35 / (download) - annotate - [select for diffs], Wed Apr 7 19:23:39 2004 UTC (20 years, 1 month ago) by david
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

repair ntpd_flags; from Jeff Ito <jeffi@rcn.com>
ok miod@ krw@

Revision 1.34 / (download) - annotate - [select for diffs], Wed Mar 17 01:33:50 2004 UTC (20 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.33: +6 -2 lines
Diff to previous 1.33 (colored)

If you are running securelevel 2, and you do not sync the clock before
switching to that securelevel, and the clock is off by more than
128ms, ntpd will attempt to correct by stepping the clock instead of
slewing it. So use -x in that case; from tholo

Revision 1.33 / (download) - annotate - [select for diffs], Tue Jun 5 23:01:55 2001 UTC (22 years, 11 months ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.32: +4 -4 lines
Diff to previous 1.32 (colored)

comment out automatic startup of netatalk if installed; pointed out by deraadt@

Revision 1.32 / (download) - annotate - [select for diffs], Mon Feb 12 04:32:24 2001 UTC (23 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.31: +1 -12 lines
Diff to previous 1.31 (colored)

delete pcvt stuff

Revision 1.31 / (download) - annotate - [select for diffs], Sun Dec 10 03:02:23 2000 UTC (23 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.30: +7 -1 lines
Diff to previous 1.30 (colored)

provide a font-loading stub; smat@acm.org

Revision 1.30 / (download) - annotate - [select for diffs], Tue Jul 11 22:30:56 2000 UTC (23 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.29: +13 -1 lines
Diff to previous 1.29 (colored)

- Move ntpd out of rc.securelevel
- Add ntpdate and rdate rc knobs

Approved-And-Assisted-By: millert

Revision 1.29 / (download) - annotate - [select for diffs], Sat Jun 24 19:37:33 2000 UTC (23 years, 10 months ago) by jakob
Branch: MAIN
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

Do not start snmpd by default just because it is installed. ok theo@.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jun 13 18:29:48 2000 UTC (23 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

normalize test vs [; form

Revision 1.27 / (download) - annotate - [select for diffs], Tue Sep 28 07:19:41 1999 UTC (24 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.26: +1 -6 lines
Diff to previous 1.26 (colored)

ssh part of base system

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jun 12 21:17:23 1999 UTC (24 years, 11 months ago) by angelos
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Fix typo in netatalk startup

Revision 1.25 / (download) - annotate - [select for diffs], Sun May 30 01:37:56 1999 UTC (24 years, 11 months ago) by angelos
Branch: MAIN
Changes since 1.24: +7 -1 lines
Diff to previous 1.24 (colored)

Add netatalk start-up support.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Mar 1 04:41:48 1999 UTC (25 years, 2 months ago) by fgsch
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Don't print cfsd output on start.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jun 15 18:41:12 1998 UTC (25 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

rc.conf control sshd

Revision 1.22 / (download) - annotate - [select for diffs], Tue Apr 7 16:32:55 1998 UTC (26 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored)

add commented 2022 sshd startup

Revision 1.21 / (download) - annotate - [select for diffs], Tue Apr 7 06:11:55 1998 UTC (26 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.20: +1 -6 lines
Diff to previous 1.20 (colored)

add xdm control to /etc/rc.conf; X11 docs need updating

Revision 1.20 / (download) - annotate - [select for diffs], Wed Mar 25 07:25:22 1998 UTC (26 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.19: +1 -5 lines
Diff to previous 1.19 (colored)

httpd is now in the tree, and an rc.conf flag turns it on

Revision 1.19 / (download) - annotate - [select for diffs], Mon Feb 2 00:29:14 1998 UTC (26 years, 3 months ago) by dima
Branch: MAIN
Changes since 1.18: +7 -3 lines
Diff to previous 1.18 (colored)

Don't start cfsd if mountd is not running, instead give an error message.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Feb 1 22:30:33 1998 UTC (26 years, 3 months ago) by dima
Branch: MAIN
Changes since 1.17: +5 -5 lines
Diff to previous 1.17 (colored)

"if [ -f" --> "if [ -x"

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jan 12 00:32:45 1998 UTC (26 years, 4 months ago) by mickey
Branch: MAIN
Changes since 1.16: +5 -1 lines
Diff to previous 1.16 (colored)

to those who wants snmpd

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jan 11 02:02:08 1998 UTC (26 years, 4 months ago) by angelos
Branch: MAIN
Changes since 1.15: +7 -2 lines
Diff to previous 1.15 (colored)

cfsd

Revision 1.15 / (download) - annotate - [select for diffs], Tue Nov 4 09:15:32 1997 UTC (26 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

kill spaces at ends of lines; m4

Revision 1.14 / (download) - annotate - [select for diffs], Sat Oct 18 10:37:47 1997 UTC (26 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.13: +7 -7 lines
Diff to previous 1.13 (colored)

presume sshd or httpd, if installed, are on

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jul 28 07:44:40 1997 UTC (26 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

typo; wojtek@tryc.on.ca

Revision 1.12 / (download) - annotate - [select for diffs], Thu Jun 12 14:52:24 1997 UTC (26 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.11: +6 -1 lines
Diff to previous 1.11 (colored)

Add commented out entry for scon (pcvt console setup)

Revision 1.11 / (download) - annotate - [select for diffs], Sun May 4 20:46:07 1997 UTC (27 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (colored)

Move xntpd -> rc.securelevel since tickadj need to twiddle /dev/mem
Move xdm back to rc.local; if your X server need access to /dev/mem
    and you do not use the ap driver starting xdm from rc.securelevel
    will only help the first time.
Add other rc.securelevel examples that are not daemons.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Apr 15 09:26:47 1997 UTC (27 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.9: +7 -7 lines
Diff to previous 1.9 (colored)

split rc.local, creating rc.securelevel. Read the comments. If you believe
in securelevels, follow them religiously. Problem found by millert...

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jan 3 07:48:50 1997 UTC (27 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +2 -6 lines
Diff to previous 1.8 (colored)

minimize comment

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jan 1 20:14:03 1997 UTC (27 years, 4 months ago) by graichen
Branch: MAIN
Changes since 1.7: +6 -1 lines
Diff to previous 1.7 (colored)

add a comment about the comment in ttys about how to start xdm via init

Revision 1.7 / (download) - annotate - [select for diffs], Sat Sep 21 07:23:55 1996 UTC (27 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

tickadj example from thorsten; closes netbsd pr#1887, banshee@gabriella.resort.com more flexibly

Revision 1.6 / (download) - annotate - [select for diffs], Fri Sep 6 09:47:35 1996 UTC (27 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +5 -1 lines
Diff to previous 1.5 (colored)

commented xntpd stub

Revision 1.5 / (download) - annotate - [select for diffs], Mon Aug 26 22:31:35 1996 UTC (27 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +5 -1 lines
Diff to previous 1.4 (colored)

show xdm example, from graichen

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jun 18 15:30:02 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +10 -24 lines
Diff to previous 1.3 (colored)

move std stuff from rc.local to rc

Revision 1.3 / (download) - annotate - [select for diffs], Sun May 26 10:49:40 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

ldconfig /usr/X11R6/lib on all machines (comments?)

Revision 1.2 / (download) - annotate - [select for diffs], Sun May 26 10:25:28 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +1 -2 lines
Diff to previous 1.1 (colored)

sync & label

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:37:57 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:37:57 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.