svn commit: r331815 - in head/sysutils/firstboot-freebsd-update: . files
Colin Percival
cperciva at FreeBSD.org
Mon Oct 28 00:06:50 UTC 2013
Author: cperciva
Date: Mon Oct 28 00:06:49 2013
New Revision: 331815
URL: http://svnweb.freebsd.org/changeset/ports/331815
Log:
Set ${firstboot_freebsd_update_enable} to NO by default.
Bump version to 1.1 for the change.
Modified:
head/sysutils/firstboot-freebsd-update/Makefile
head/sysutils/firstboot-freebsd-update/files/firstboot_freebsd_update.in
Modified: head/sysutils/firstboot-freebsd-update/Makefile
==============================================================================
--- head/sysutils/firstboot-freebsd-update/Makefile Mon Oct 28 00:00:00 2013 (r331814)
+++ head/sysutils/firstboot-freebsd-update/Makefile Mon Oct 28 00:06:49 2013 (r331815)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= firstboot-freebsd-update
-PORTVERSION= 1.0
+PORTVERSION= 1.1
CATEGORIES= sysutils
MASTER_SITES= # none
DISTFILES= # none
Modified: head/sysutils/firstboot-freebsd-update/files/firstboot_freebsd_update.in
==============================================================================
--- head/sysutils/firstboot-freebsd-update/files/firstboot_freebsd_update.in Mon Oct 28 00:00:00 2013 (r331814)
+++ head/sysutils/firstboot-freebsd-update/files/firstboot_freebsd_update.in Mon Oct 28 00:06:49 2013 (r331815)
@@ -5,8 +5,15 @@
# REQUIRE: syslogd NETWORKING
# BEFORE: LOGIN
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf (in the disk
+# image, since this only runs on the first boot) to enable this:
+#
+# firstboot_freebsd_update_enable="YES"
+
. /etc/rc.subr
+: ${firstboot_freebsd_update_enable:="NO"}
+
name="firstboot_freebsd_update"
rcvar=firstboot_freebsd_update_enable
start_cmd="firstboot_freebsd_update_run | logger -s -t 'freebsd-update'"
More information about the svn-ports-all
mailing list