[Bug 284100] dns/knot3: rc script error
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 284100] dns/knot3: rc script error"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 18 Jan 2025 22:00:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284100 Vladimir Druzenko <vvd@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vvd@FreeBSD.org --- Comment #2 from Vladimir Druzenko <vvd@FreeBSD.org> --- Why not? case "$0" in /etc/rc*) # during boot (shutdown) $0 is /etc/rc (/etc/rc.shutdown), # so get the name of the script from $_file name="$_file" ;; +*/service) + name="$file" + ;; *) name="$0" ;; -- You are receiving this mail because: You are the assignee for the bug.