summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2010-11-24 15:25:17 +0000
committerpjd <pjd@FreeBSD.org>2010-11-24 15:25:17 +0000
commitd97fcd46032f74bc88f2046d9bc03c146fde714f (patch)
treead628bba1a1e2e9a452edadd44528fd95f9dab59 /etc
parent545c74c108d341dc6bb0a5ed4c32265504bf14d4 (diff)
downloadFreeBSD-src-d97fcd46032f74bc88f2046d9bc03c146fde714f.zip
FreeBSD-src-d97fcd46032f74bc88f2046d9bc03c146fde714f.tar.gz
Add gptboot_enable rc variable, which allows to turn gptboot reporting off in
case user wants to implement his own actions and doesn't want the attributes to vanish. Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com MFC after: 3 days
Diffstat (limited to 'etc')
-rw-r--r--etc/defaults/rc.conf2
-rwxr-xr-xetc/rc.d/gptboot1
2 files changed, 3 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 7109086..e542f9b 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -58,6 +58,8 @@ rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
# ZFS support
zfs_enable="NO" # Set to YES to automatically mount ZFS file systems
+gptboot_enable="YES" # GPT boot success/failure reporting.
+
# Experimental - test before enabling
gbde_autoattach_all="NO" # YES automatically mounts gbde devices from fstab
gbde_devices="NO" # Devices to automatically attach (list, or AUTO)
diff --git a/etc/rc.d/gptboot b/etc/rc.d/gptboot
index ace94b8..abfcaa1 100755
--- a/etc/rc.d/gptboot
+++ b/etc/rc.d/gptboot
@@ -34,6 +34,7 @@
. /etc/rc.subr
name="gptboot"
+rcvar=`set_rcvar`
start_cmd="gptboot_report"
gptboot_report()
OpenPOWER on IntegriCloud