Re: rc.d/dhcpd: enable configtest

2022-10-08 Thread Klemens Nanni
ing. Index: dhcpd === RCS file: /cvs/src/etc/rc.d/dhcpd,v retrieving revision 1.3 diff -u -p -r1.3 dhcpd --- dhcpd 11 Jan 2018 19:52:12 - 1.3 +++ dhcpd 29 Sep 2022 20:52:28 - @@ -6,6 +6,11 @@ daemon="/usr/sbin/dhcpd" . /etc/rc.d/rc.subr +rc_configtest() { +

rc.d/dhcpd: enable configtest

2022-10-02 Thread Klemens Nanni
dhcpd(8) has -n Only test configuration, do not run dhcpd. rc_configtest() taken from other rc.d scripts. Feedback? OK? Index: dhcpd === RCS file: /cvs/src/etc/rc.d/dhcpd,v retrieving revision 1.3 diff -u -p -r1.3 dhcpd

Re: rc.d/dhcpd

2012-11-28 Thread Stuart Henderson
On 2012/11/28 10:24, mxb wrote: > Then running dhcpd with pf-support (-A -C ). > dhcpd spawns child process which is not handled by rc-script then > stop/restart. This is a bug in dhcpd, not the rc script.

Re: rc.d/dhcpd

2012-11-28 Thread Alexander Hall
mxb wrote: >Then running dhcpd with pf-support (-A -C ). >dhcpd spawns child process which is not handled by rc-script then >stop/restart. > >Here is a diff to fix it. > >Yes, I know, normally one might want to flush PF-tables as well and >this is not handled by the diff. >But at least I don't h

rc.d/dhcpd

2012-11-28 Thread mxb
Then running dhcpd with pf-support (-A -C ). dhcpd spawns child process which is not handled by rc-script then stop/restart. Here is a diff to fix it. Yes, I know, normally one might want to flush PF-tables as well and this is not handled by the diff. But at least I don't have to kill child pro