xref: /freebsd/usr.sbin/bsdconfig/examples/bsdconfigrc (revision 526e1dc1c0d052b9d2a6cd6da7a16eb09c971c54)
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# $FreeBSD$
27641a6cfbSDevin Teske
28641a6cfbSDevin Teske# This file allows you to customize the behavior of bsdconfig.
29641a6cfbSDevin Teske#   Copy it to your $HOME/.bsdconfigrc and edit to suit.
30641a6cfbSDevin Teske#   defaults are shown.
31641a6cfbSDevin Teske
32641a6cfbSDevin Teske# debugging aid for development
33641a6cfbSDevin Teske# f_dprintf() {
34*526e1dc1SDevin Teske#   local format="$1"; shift
35*526e1dc1SDevin Teske#   printf "$(date):$pgm:$format\n" "$@" >> $HOME/out
36641a6cfbSDevin Teske# }
37