3 # Bacula(R) - The Network Backup Solution
5 # Copyright (C) 2000-2016 Kern Sibbald
7 # The original author of Bacula is Kern Sibbald, with contributions
8 # from many others, a complete list can be found in the file AUTHORS.
10 # You may use this file and others of this release according to the
11 # license defined in the LICENSE file, which includes the Affero General
12 # Public License, v3.0 ("AGPLv3") and some additional permissions and
13 # terms pursuant to its AGPLv3 Section 7.
15 # This notice must be preserved when any source code is
16 # conveyed and/or propagated.
18 # Bacula(R) is a registered trademark of Kern Sibbald.
20 which dirname >/dev/null
24 if [ x$cwd = x. ]; then
27 if [ x$cwd = x@sbindir@ ] ; then
28 echo "bconsole not properly installed."
32 if [ x@sbindir@ = x@sysconfdir@ ]; then
33 echo "bconsole not properly installed."
37 echo "doing bconsole $1.conf"
38 @sbindir@/bconsole -c $1.conf
40 @sbindir@/bconsole -c @sysconfdir@/bconsole.conf