Date: Sat, 30 Jul 2005 02:00:34 GMT From: DraX <drax@stampede.org> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/84030: /etc/rc.d/power_profile is not a real rc.d script Message-ID: <200507300200.j6U20Yd4004642@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/84030; it has been noted by GNATS. From: DraX <drax@stampede.org> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: freebsd-gnats-submit@freebsd.org Subject: Re: misc/84030: /etc/rc.d/power_profile is not a real rc.d script Date: Mon, 25 Jul 2005 15:08:53 -0600 (MDT) Though it's nice to avoid the actual problem with "that's not the way it should be done." It fails to address that in effect freebsd is violating the design of NetBSD rc.d. In _Design and Implementation of the NetBSD rc.d system_, Luke Mewburn lays out a standard for all scripts in /etc/rc.d. This standard is located in section 4.2.3 of the paper mentioned above. In effect he states that each script in /etc/rc.d should include the following arguments: start, and stop. With potential to also have restart, status, and rcvar. | [17:16] alex@Kroeber: ~> /etc/rc.d/power_profile start | Usage: /etc/rc.d/power_profile [0x00|0x01] In this case it is clear that power_profile violates the standard for the NetBSD rc.d system that is used by FreeBSD. /etc/rc.d/dhclient on the otherhand complies to the standard. I do not have a -CURRENT system avaliable so I can not say on the status of /etc/rc.d/wpa_supplicant. Scripts in /etc/rc.d/* should comply to the standard laid out by Design and Implementation of the NetBSD rc.d system. Apoligies for the gruffness, Alexander
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507300200.j6U20Yd4004642>