1238438Sdteske# Copyright (c) 2012 Ron McDowell 2238438Sdteske# Copyright (c) 2012 Devin Teske 3238438Sdteske# All rights reserved. 4238438Sdteske# 5238438Sdteske# Redistribution and use in source and binary forms, with or without 6238438Sdteske# modification, are permitted provided that the following conditions 7238438Sdteske# are met: 8238438Sdteske# 1. Redistributions of source code must retain the above copyright 9238438Sdteske# notice, this list of conditions and the following disclaimer. 10238438Sdteske# 2. Redistributions in binary form must reproduce the above copyright 11238438Sdteske# notice, this list of conditions and the following disclaimer in the 12238438Sdteske# documentation and/or other materials provided with the distribution. 13238438Sdteske# 14238438Sdteske# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15238438Sdteske# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16238438Sdteske# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17238438Sdteske# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18238438Sdteske# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19238438Sdteske# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20238438Sdteske# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21238438Sdteske# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22238438Sdteske# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23238438Sdteske# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24238438Sdteske# SUCH DAMAGE. 25238438Sdteske# 26238438Sdteske# $FreeBSD$ 27238438Sdteske 28238438Sdteske# This file allows you to customize the behavior of bsdconfig. 29238438Sdteske# Copy it to your $HOME/.bsdconfigrc and edit to suit. 30238438Sdteske 31251911Sdteske# Debugging aids for development 32251911Sdteske# 33251911Sdteske#debug=1 34251911Sdteske#debugFile=$HOME/out 35251911Sdteske#debugFile=+$HOME/out # includes debug to stdout 36251911Sdteske 37251911Sdteske# Optionally override functions to be more verbose (like including the date) 38251911Sdteske# 39238438Sdteske# f_dprintf() { 40251911Sdteske# local format="$1"; shift 41251911Sdteske# printf "$(date):$pgm:$format\n" "$@" >> $HOME/out 42238438Sdteske# } 43