From d97fcd46032f74bc88f2046d9bc03c146fde714f Mon Sep 17 00:00:00 2001 From: pjd Date: Wed, 24 Nov 2010 15:25:17 +0000 Subject: 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 --- etc/defaults/rc.conf | 2 ++ etc/rc.d/gptboot | 1 + 2 files changed, 3 insertions(+) (limited to 'etc') 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() -- cgit v1.1