#
1.10 |
|
04-Sep-2022 |
ajacoutot |
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!
|
#
1.9 |
|
29-Aug-2022 |
ajacoutot |
Use rc_configtest.
|
#
1.8 |
|
21-May-2022 |
ajacoutot |
${rcexec} -> rc_exec
|
Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
|
#
1.7 |
|
21-Jan-2019 |
claudio |
Use ${rcexec} in rc_pre to do the config testing. This allows to specify macros with spaces in them. With and OK ajacoutot
|
Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE
|
#
1.6 |
|
11-Jan-2018 |
rpe |
Comments
|
#
1.5 |
|
11-Jan-2018 |
rpe |
- 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
|
#
1.4 |
|
11-Jan-2018 |
rpe |
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 tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.3 |
|
19-Dec-2015 |
ajacoutot |
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@
|
#
1.2 |
|
19-Dec-2015 |
ajacoutot |
Tweak pexp.
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.1 |
|
06-Jul-2011 |
robert |
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.
|
#
1.9 |
|
29-Aug-2022 |
ajacoutot |
Use rc_configtest.
|
#
1.8 |
|
21-May-2022 |
ajacoutot |
${rcexec} -> rc_exec
|
Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
|
#
1.7 |
|
21-Jan-2019 |
claudio |
Use ${rcexec} in rc_pre to do the config testing. This allows to specify macros with spaces in them. With and OK ajacoutot
|
Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE
|
#
1.6 |
|
11-Jan-2018 |
rpe |
Comments
|
#
1.5 |
|
11-Jan-2018 |
rpe |
- 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
|
#
1.4 |
|
11-Jan-2018 |
rpe |
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 tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.3 |
|
19-Dec-2015 |
ajacoutot |
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@
|
#
1.2 |
|
19-Dec-2015 |
ajacoutot |
Tweak pexp.
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.1 |
|
06-Jul-2011 |
robert |
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.
|
#
1.8 |
|
21-May-2022 |
ajacoutot |
${rcexec} -> rc_exec
|
Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
|
#
1.7 |
|
21-Jan-2019 |
claudio |
Use ${rcexec} in rc_pre to do the config testing. This allows to specify macros with spaces in them. With and OK ajacoutot
|
Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE
|
#
1.6 |
|
11-Jan-2018 |
rpe |
Comments
|
#
1.5 |
|
11-Jan-2018 |
rpe |
- 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
|
#
1.4 |
|
11-Jan-2018 |
rpe |
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 tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.3 |
|
19-Dec-2015 |
ajacoutot |
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@
|
#
1.2 |
|
19-Dec-2015 |
ajacoutot |
Tweak pexp.
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.1 |
|
06-Jul-2011 |
robert |
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.
|
#
1.7 |
|
21-Jan-2019 |
claudio |
Use ${rcexec} in rc_pre to do the config testing. This allows to specify macros with spaces in them. With and OK ajacoutot
|
Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE
|
#
1.6 |
|
11-Jan-2018 |
rpe |
Comments
|
#
1.5 |
|
11-Jan-2018 |
rpe |
- 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
|
#
1.4 |
|
11-Jan-2018 |
rpe |
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 tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.3 |
|
19-Dec-2015 |
ajacoutot |
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@
|
#
1.2 |
|
19-Dec-2015 |
ajacoutot |
Tweak pexp.
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.1 |
|
06-Jul-2011 |
robert |
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.
|
#
1.6 |
|
11-Jan-2018 |
rpe |
Comments
|
#
1.5 |
|
11-Jan-2018 |
rpe |
- 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
|
#
1.4 |
|
11-Jan-2018 |
rpe |
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 tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.3 |
|
19-Dec-2015 |
ajacoutot |
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@
|
#
1.2 |
|
19-Dec-2015 |
ajacoutot |
Tweak pexp.
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.1 |
|
06-Jul-2011 |
robert |
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.
|