questionable feature- rcvar woes
Trond Endrestøl
Trond.Endrestol at fagskolen.gjovik.no
Wed Nov 28 11:55:59 PST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 28 Nov 2007 20:37+0100, Milan Obuch wrote:
> On Wednesday 28 November 2007 20:16:51 Andrei Kolu wrote:
> >
> > 1) Disable powerd in rc.conf- comment it out.
> > # enable_powerd="YES"
> > 2) Stop powerd
> > # /etc/rc.d/powerd stop
> > ...silence- nothing in logs either.
>
> Stop for a moment - enable_powerd means actually 'enable action carried
> by /etc/rc.d/powerd script', using this semantics actually explains all
> details. Or you could treat it as a stack of a sort, reversing order to 2) 1)
> just produces desired output.
/etc/rc.d/powerd forcestop
will execute the stop code regardless of the rcvar in /etc/rc.conf or
similar files.
rc.subr(8) is your friend, or perhaps not.
- --
- ----------------------------------------------------------------------
Trond Endrestøl | trond at fagskolen.gjovik.no
Patron of The Art of Computer Programming| FreeBSD 6.2-S & Pine 4.64
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)
iD8DBQFHTcfEbYWZalUoElsRArYeAJ43hVs5zf6TkMHr3oVMeiZLiAPfHwCfW1rX
AGUV8Ae6RpDx0g8Jq3mv9oU=
=XJkD
-----END PGP SIGNATURE-----
More information about the freebsd-stable
mailing list