1252995Sdteske# Copyright (c) 2012 Ron McDowell
2252995Sdteske# Copyright (c) 2012 Devin Teske
3252995Sdteske# All rights reserved.
4252995Sdteske#
5252995Sdteske# Redistribution and use in source and binary forms, with or without
6252995Sdteske# modification, are permitted provided that the following conditions
7252995Sdteske# are met:
8252995Sdteske# 1. Redistributions of source code must retain the above copyright
9252995Sdteske#    notice, this list of conditions and the following disclaimer.
10252995Sdteske# 2. Redistributions in binary form must reproduce the above copyright
11252995Sdteske#    notice, this list of conditions and the following disclaimer in the
12252995Sdteske#    documentation and/or other materials provided with the distribution.
13252995Sdteske#
14252995Sdteske# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15252995Sdteske# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16252995Sdteske# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17252995Sdteske# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18252995Sdteske# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19252995Sdteske# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20252995Sdteske# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21252995Sdteske# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22252995Sdteske# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23252995Sdteske# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24252995Sdteske# SUCH DAMAGE.
25252995Sdteske#
26252995Sdteske# $FreeBSD$
27252995Sdteske
28252995Sdteske# This file allows you to customize the behavior of bsdconfig.
29252995Sdteske#   Copy it to your $HOME/.bsdconfigrc and edit to suit.
30252995Sdteske
31252995Sdteske# Debugging aids for development
32252995Sdteske#
33252995Sdteske#debug=1
34252995Sdteske#debugFile=$HOME/out
35252995Sdteske#debugFile=+$HOME/out # includes debug to stdout
36252995Sdteske
37252995Sdteske# Optionally override functions to be more verbose (like including the date)
38252995Sdteske#
39252995Sdteske# f_dprintf() {
40252995Sdteske# 	local format="$1"; shift
41252995Sdteske# 	printf "$(date):$pgm:$format\n" "$@" >> $HOME/out
42252995Sdteske# }
43