1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-24 14:14:37 +00:00
Files
src/etc
kn 666b00faca hoist OPTIND reset from rc.d(8) services to rc.subr(8)
See unbound r1.10 and r.11 for context;  in base only unbound and spamlogd
use getopts and the problem is in rc.subr's getopts, parsing options when
the service script is used directly:  /etc/rc.d/unbound [-dqf] ...

Reset getopts in rc.subr once for anything that comes afterwards instead of
in every script using it.

'rcctl [-dqf] ...' and netstart are not affected as they run rc.subr in its
own process and use FUNCS_ONLY=1, respectively.

tested by obsd@mulh.net
OK aja
2025-12-06 11:04:45 +00:00
..
2025-11-19 17:49:59 +00:00
2025-11-19 17:49:59 +00:00
2025-11-19 17:49:59 +00:00
2025-11-19 17:49:59 +00:00
2025-11-19 17:49:59 +00:00
2025-11-19 17:49:59 +00:00
2025-11-19 17:49:59 +00:00
2025-11-19 17:49:59 +00:00
2025-11-19 17:49:59 +00:00
2025-11-19 17:49:59 +00:00
2025-11-19 17:49:59 +00:00
2025-11-19 17:49:59 +00:00
2025-11-19 17:49:59 +00:00
2025-11-19 17:49:59 +00:00
2025-11-23 13:50:06 +00:00
2025-09-11 00:39:36 +00:00
2025-10-25 19:39:43 +00:00
2025-10-11 23:39:14 +00:00