diff options
author | dteske <dteske@FreeBSD.org> | 2013-07-05 01:37:35 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2013-07-05 01:37:35 +0000 |
commit | 30085c64d0cc064b404a0f54f789a3f25d2a397e (patch) | |
tree | 8ae34880bc3e365cd065747c0cf367ae05458c83 /usr.sbin | |
parent | 7b1053a0cd3abb506cc9b6086918fb299ef7c28d (diff) | |
download | FreeBSD-src-30085c64d0cc064b404a0f54f789a3f25d2a397e.zip FreeBSD-src-30085c64d0cc064b404a0f54f789a3f25d2a397e.tar.gz |
Add mustberoot.subr to the list of includes for scripts, exposing the helper
function f_mustberoot_init() to make it easy to write scripts that can more
easily transition to the super-user via sudo(8).
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bsdconfig/share/script.subr | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bsdconfig/share/script.subr b/usr.sbin/bsdconfig/share/script.subr index 8b8c8e2..0c5fabc 100644 --- a/usr.sbin/bsdconfig/share/script.subr +++ b/usr.sbin/bsdconfig/share/script.subr @@ -34,6 +34,7 @@ f_dprintf "%s: loading includes..." script.subr f_include $BSDCFG_SHARE/device.subr f_include $BSDCFG_SHARE/media/any.subr f_include $BSDCFG_SHARE/media/tcpip.subr +f_include $BSDCFG_SHARE/mustberoot.subr f_include $BSDCFG_SHARE/packages/packages.subr f_include $BSDCFG_SHARE/variable.subr |