aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2013-10-28 08:06:49 +0800
committercperciva <cperciva@FreeBSD.org>2013-10-28 08:06:49 +0800
commit9ba174b50895bc0a4590792f2526e33bad1803b6 (patch)
tree7ec5d1633b496045c300c382689407ebef9a5ce2 /sysutils
parent08b0af8829add2e036ff2f2ee1d983676062b06c (diff)
downloadfreebsd-ports-gnome-9ba174b50895bc0a4590792f2526e33bad1803b6.tar.gz
freebsd-ports-gnome-9ba174b50895bc0a4590792f2526e33bad1803b6.tar.zst
freebsd-ports-gnome-9ba174b50895bc0a4590792f2526e33bad1803b6.zip
Set ${firstboot_freebsd_update_enable} to NO by default.
Bump version to 1.1 for the change.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/firstboot-freebsd-update/Makefile2
-rw-r--r--sysutils/firstboot-freebsd-update/files/firstboot_freebsd_update.in7
2 files changed, 8 insertions, 1 deletions
diff --git a/sysutils/firstboot-freebsd-update/Makefile b/sysutils/firstboot-freebsd-update/Makefile
index 73c145f2894e..61ebb7700cce 100644
--- a/sysutils/firstboot-freebsd-update/Makefile
+++ b/sysutils/firstboot-freebsd-update/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= firstboot-freebsd-update
-PORTVERSION= 1.0
+PORTVERSION= 1.1
CATEGORIES= sysutils
MASTER_SITES= # none
DISTFILES= # none
diff --git a/sysutils/firstboot-freebsd-update/files/firstboot_freebsd_update.in b/sysutils/firstboot-freebsd-update/files/firstboot_freebsd_update.in
index 170fdf722676..62bb9045d8a8 100644
--- a/sysutils/firstboot-freebsd-update/files/firstboot_freebsd_update.in
+++ b/sysutils/firstboot-freebsd-update/files/firstboot_freebsd_update.in
@@ -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'"