1641a6cfbSDevin Teske# Copyright (c) 2012 Ron McDowell 2641a6cfbSDevin Teske# Copyright (c) 2012 Devin Teske 3641a6cfbSDevin Teske# All rights reserved. 4641a6cfbSDevin Teske# 5641a6cfbSDevin Teske# Redistribution and use in source and binary forms, with or without 6641a6cfbSDevin Teske# modification, are permitted provided that the following conditions 7641a6cfbSDevin Teske# are met: 8641a6cfbSDevin Teske# 1. Redistributions of source code must retain the above copyright 9641a6cfbSDevin Teske# notice, this list of conditions and the following disclaimer. 10641a6cfbSDevin Teske# 2. Redistributions in binary form must reproduce the above copyright 11641a6cfbSDevin Teske# notice, this list of conditions and the following disclaimer in the 12641a6cfbSDevin Teske# documentation and/or other materials provided with the distribution. 13641a6cfbSDevin Teske# 14641a6cfbSDevin Teske# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15641a6cfbSDevin Teske# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16641a6cfbSDevin Teske# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17641a6cfbSDevin Teske# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18641a6cfbSDevin Teske# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19641a6cfbSDevin Teske# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20641a6cfbSDevin Teske# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21641a6cfbSDevin Teske# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22641a6cfbSDevin Teske# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23641a6cfbSDevin Teske# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24641a6cfbSDevin Teske# SUCH DAMAGE. 25641a6cfbSDevin Teske# 26641a6cfbSDevin Teske 27641a6cfbSDevin Teske# This file allows you to customize the behavior of bsdconfig. 28641a6cfbSDevin Teske# Copy it to your $HOME/.bsdconfigrc and edit to suit. 29641a6cfbSDevin Teske 30*55bce0c1SDevin Teske# Debugging aids for development 31*55bce0c1SDevin Teske# 32*55bce0c1SDevin Teske#debug=1 33*55bce0c1SDevin Teske#debugFile=$HOME/out 34*55bce0c1SDevin Teske#debugFile=+$HOME/out # includes debug to stdout 35*55bce0c1SDevin Teske 36*55bce0c1SDevin Teske# Optionally override functions to be more verbose (like including the date) 37*55bce0c1SDevin Teske# 38641a6cfbSDevin Teske# f_dprintf() { 39526e1dc1SDevin Teske# local format="$1"; shift 40526e1dc1SDevin Teske# printf "$(date):$pgm:$format\n" "$@" >> $HOME/out 41641a6cfbSDevin Teske# } 42