[PATCH] /etc/rc: WARNING: $compat5x_enable is not set properly -
see rc.conf(5).
Andre Guibert de Bruet
andy at siliconlandmark.com
Mon Dec 26 09:14:18 PST 2005
Hi,
Earlier today I upgraded my desktop (Base system and ports) from an
October 19th version of CURRENT to:
FreeBSD bling.properkernel.com 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Mon Dec 26 10:54:45 EST 2005 root at bling.properkernel.com:/usr/obj/usr/src/sys/BLING i386
During startup, I am now seeing the following message:
/etc/rc: WARNING: $compat5x_enable is not set properly - see rc.conf(5).
I believe this message is saying that the compat5x-i386 package now
requires a value to be set in the compat5x_enable variable.
I attached a patch that fixes the lack of a default value for this
variable in /usr/local/etc/rc.d/compat5x.sh (It can be found online as
well at http://bling.properkernel.com/freebsd/compat5x.rc.d.patch )
Could this be reviewed and committed?
Thanks,
Andy
/* Andre Guibert de Bruet * 6f43 6564 7020 656f 2e74 4220 7469 6a20 */
/* Code poet / Sysadmin * 636f 656b 2e79 5320 7379 6461 696d 2e6e */
/* GSM: +1 734 846 8758 * 5520 494e 2058 6c73 7565 6874 002e 0000 */
/* WWW: siliconlandmark.com * Tormenting bytes since 1980. */
-------------- next part --------------
--- compat5x.sh.orig Mon Dec 26 12:02:53 2005
+++ compat5x.sh Mon Dec 26 12:04:54 2005
@@ -10,6 +10,8 @@
# compat5x_enable="YES"
#
+compat5x_enable=${compat5x_enable-"NO"}
+
. /etc/rc.subr
name=compat5x
More information about the freebsd-ports
mailing list