Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jul 2013 01:37:36 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r252743 - head/usr.sbin/bsdconfig/share
Message-ID:  <201307050137.r651baQc027832@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Fri Jul  5 01:37:35 2013
New Revision: 252743
URL: http://svnweb.freebsd.org/changeset/base/252743

Log:
  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).

Modified:
  head/usr.sbin/bsdconfig/share/script.subr

Modified: head/usr.sbin/bsdconfig/share/script.subr
==============================================================================
--- head/usr.sbin/bsdconfig/share/script.subr	Fri Jul  5 01:32:39 2013	(r252742)
+++ head/usr.sbin/bsdconfig/share/script.subr	Fri Jul  5 01:37:35 2013	(r252743)
@@ -34,6 +34,7 @@ f_dprintf "%s: loading includes..." scri
 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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307050137.r651baQc027832>