From 440ee7e0ef77b6b38d358c793066f4b41ca03fe9 Mon Sep 17 00:00:00 2001 From: Colin Percival Date: Mon, 28 Oct 2013 00:06:49 +0000 Subject: [PATCH] Set ${firstboot_freebsd_update_enable} to NO by default. Bump version to 1.1 for the change. --- sysutils/firstboot-freebsd-update/Makefile | 2 +- .../files/firstboot_freebsd_update.in | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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'"