diff options
author | dteske <dteske@FreeBSD.org> | 2013-01-03 15:48:00 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2013-01-03 15:48:00 +0000 |
commit | d69819c426ff90f958fc1b26eabcc82f7244826f (patch) | |
tree | 318ea084ecdb5b2a294af4d97738e56373c9a49a /usr.sbin/bsdconfig/share | |
parent | c08f23f4570212bbce8c8edc8eb656890d55bce6 (diff) | |
download | FreeBSD-src-d69819c426ff90f958fc1b26eabcc82f7244826f.zip FreeBSD-src-d69819c426ff90f958fc1b26eabcc82f7244826f.tar.gz |
Comments.
Diffstat (limited to 'usr.sbin/bsdconfig/share')
-rw-r--r-- | usr.sbin/bsdconfig/share/common.subr | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/bsdconfig/share/common.subr b/usr.sbin/bsdconfig/share/common.subr index 071325c..9491fce 100644 --- a/usr.sbin/bsdconfig/share/common.subr +++ b/usr.sbin/bsdconfig/share/common.subr @@ -64,10 +64,16 @@ export UNAME_R="$(uname -r)" # Release Level (i.e. X.Y-RELEASE) ############################################################ FUNCTIONS +# f_dprintf $fmt [ $opts ... ] # # Sensible debug function. Override in ~/.bsdconfigrc if desired. # See /usr/share/examples/bsdconfig/bsdconfigrc for example. # +# If $debug is set and non-NULL, prints DEBUG info using printf(1) syntax: +# + To $debugFile, if set and non-NULL +# + To standard output if $debugFile is either NULL or unset +# + To both if $debugFile begins with a single plus-sign (`+') +# f_dprintf() { [ "$debug" ] || return $SUCCESS |