Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2007 20:55:44 +0100 (CET)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        FreeBSD stable <freebsd-stable@freebsd.org>
Subject:   Re: questionable feature- rcvar woes
Message-ID:  <20071128205251.W47321@ramstind.fig.ol.no>
In-Reply-To: <200711282037.32490.freebsd-stable@dino.sk>
References:  <200711282116.53008.antik@bsd.ee> <200711282037.32490.freebsd-stable@dino.sk>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1476198528-1196279744=:47321
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: 8BIT

-----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@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-----
--0-1476198528-1196279744=:47321--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071128205251.W47321>