OpenBSD CVS

CVS log for src/etc/rc.d/iked


[BACK] Up to [local] / src / etc / rc.d

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.10 / (download) - annotate - [select for diffs], Sun Sep 4 06:57:13 2022 UTC (21 months ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, HEAD
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

Fix regression in previous commit.
Moving the configuration check to its own configtest function means rc_pre
exit code will now be that of the && list (sasyncd_flags).
Just do what isakmpd does and return 0.

from lucas at sexy dot is, thanks!

Revision 1.9 / (download) - annotate - [select for diffs], Mon Aug 29 19:14:25 2022 UTC (21 months, 1 week ago) by ajacoutot
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)

Use rc_configtest.

Revision 1.8 / (download) - annotate - [select for diffs], Sat May 21 12:42:21 2022 UTC (2 years ago) by ajacoutot
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

${rcexec} -> rc_exec

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jan 21 01:41:16 2019 UTC (5 years, 4 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

Use ${rcexec} in rc_pre to do the config testing. This allows to specify
macros with spaces in them. With and OK ajacoutot

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jan 11 22:44:44 2018 UTC (6 years, 4 months ago) by rpe
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Comments

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jan 11 21:09:26 2018 UTC (6 years, 4 months ago) by rpe
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

- change [] tests to [[]]
- change -a, -o to &&, || inside [[]]
- remove unecessary quoting inside [[]]
- remove X"" constructs inside [[]]
- remove \ (line continuation) in case of &&, || and pipes
- replace backticks with $()

discussed with and OK aja@
OK tb

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jan 11 19:52:12 2018 UTC (6 years, 4 months ago) by rpe
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Change the shebang line from /bin/sh to /bin/ksh in all base rc.d
daemon scripts.

discussed with and OK aja@
OK tb

Revision 1.3 / (download) - annotate - [select for diffs], Sat Dec 19 13:45:12 2015 UTC (8 years, 5 months ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.2: +4 -2 lines
Diff to previous 1.2 (colored)

Child will not return a config parsing error to the parent so rc.d will lie and
tell you that the daemon succesfully started; prevent this by running a config
check first.
Note that we only do this for those particular daemons, not all that support a
config test mode.

ok benno@ phessler@

Revision 1.2 / (download) - annotate - [select for diffs], Sat Dec 19 10:09:04 2015 UTC (8 years, 5 months ago) by ajacoutot
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Tweak pexp.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jul 6 18:55:36 2011 UTC (12 years, 11 months ago) by robert
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, 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

Add rc.d(8) script for the system daemons that are restartable.
From now on rc(8) is going to call these scripts to start them up on boot
in the same order than before.
In addition the inetd and rwhod variables in rc.conf are deprecated so that
inetd_flags and rwhod_flags should be used. The old flags are still going
to be used for some time to allow users to switch.
There are more rc modifications to come later so let's put this in so
we can base more work on this.
It is important to mention that you can still keep using rc.local just
like the way you did before, and we have no intention to remove that either.

I'd also like to thank ajacoutot@, halex@, sthen@ and schwarze@ for working
on this with me.

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.