From: aisha Subject: add rcctl configtest ospfd/ospf6d To: tech@openbsd.org Date: Sat, 24 Feb 2024 09:29:46 -0500 Hi, I've attached a patch for adding configtest option for ospfd/ospf6d. OK? Index: ospf6d =================================================================== RCS file: /cvs/src/etc/rc.d/ospf6d,v diff -u -p -r1.3 ospf6d --- ospf6d 11 Jan 2018 19:52:12 -0000 1.3 +++ ospf6d 24 Feb 2024 14:25:53 -0000 @@ -6,4 +6,8 @@ daemon="/usr/sbin/ospf6d" . /etc/rc.d/rc.subr +rc_configtest() { + ${daemon} ${daemon_flags} -n +} + rc_cmd $1 Index: ospfd =================================================================== RCS file: /cvs/src/etc/rc.d/ospfd,v diff -u -p -r1.3 ospfd --- ospfd 11 Jan 2018 19:52:12 -0000 1.3 +++ ospfd 24 Feb 2024 14:25:53 -0000 @@ -6,4 +6,8 @@ daemon="/usr/sbin/ospfd" . /etc/rc.d/rc.subr +rc_configtest() { + ${daemon} ${daemon_flags} -n +} + rc_cmd $1