Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Sep 2021 15:04:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 258320] etc/rc.d/powerd: powerd_flags apparently vanished
Message-ID:  <bug-258320-9-6LkXxultva@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-258320-9@https.bugs.freebsd.org/bugzilla/>
References:  <bug-258320-9@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=3D258320

Jamie Landeg-Jones <jamie@catflap.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamie@catflap.org

--- Comment #3 from Jamie Landeg-Jones <jamie@catflap.org> ---
powerd_flags are still used.

The line: command_args=3D"${powerd_flags}"

was removed as it's redundant - The rc subsystem automatically sets
command_args to {progname}_args

You only need to use this if setting the args from another program, eg:

/etc/rc.d/ypbind:command_args=3D"${nis_client_flags}"

# uname -a
FreeBSD catflap.dyslexicfish.net 13.0-RELEASE FreeBSD 13.0-RELEASE #0
releng/13.0-n244733-ea31abc261f: Fri Apr  9 04:24:09 UTC 2021=20=20=20=20
root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64
#=20
# grep powerd /etc/rc.conf
powerd_flags=3D"-b boo"
powerd_enable=3DYES
#=20
# service powerd start
Starting powerd.
powerd: bad option: -b boo
/etc/rc.d/powerd: WARNING: failed to start powerd
#

Cheers Jamie

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258320-9-6LkXxultva>