diff options
author | pjd <pjd@FreeBSD.org> | 2010-11-24 15:25:17 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2010-11-24 15:25:17 +0000 |
commit | d97fcd46032f74bc88f2046d9bc03c146fde714f (patch) | |
tree | ad628bba1a1e2e9a452edadd44528fd95f9dab59 /etc | |
parent | 545c74c108d341dc6bb0a5ed4c32265504bf14d4 (diff) | |
download | FreeBSD-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.conf | 2 | ||||
-rwxr-xr-x | etc/rc.d/gptboot | 1 |
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() |