Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jan 2025 22:00:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 284100] dns/knot3: rc script error
Message-ID:  <bug-284100-7788-QoNk0psxZz@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-284100-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-284100-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284100

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=3D"$_file"
        ;;
+*/service)
+       name=3D"$file"
+       ;;
 *)
        name=3D"$0"
        ;;

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284100-7788-QoNk0psxZz>