--- /dev/null
+# Where to get the source to be tested
+# BACULA_SOURCE="${HOME}/bacula/branch-1.36.2"
+BACULA_SOURCE="${HOME}/bacula/k"
+
+# Where to send email !!!!! Change me !!!!!!!
+EMAIL=kern@sibbald.com
+SMTP_HOST="matou.sibbald.com"
+
+# Full "default" path where to find sqlite (no quotes!)
+SQLITE_DIR=${HOME}/bacula/depkgs/sqlite
+
+TAPE_DRIVE="/dev/nsa0"
+# if you don't have an autochanger set AUTOCHANGER to /dev/null
+AUTOCHANGER="/dev/sg0"
+# For two drive tests -- set to /dev/null if you do not have it
+TAPE_DRIVE1="/dev/null"
+
+# This must be the path to the autochanger including its name
+AUTOCHANGER_PATH="/usr/local/sbin/mtx"
+
+# Set your database here
+WHICHDB?="--with-sqlite=${SQLITE_DIR}"
+#WHICHDB="--with-mysql=${HOME}/mysql"
+
+# Set this to "--with-tcp-wrappers" or "--without-tcp-wrappers"
+TCPWRAPPERS="--with-tcp-wrappers"
SMTP_HOST="localhost"
# Full "default" path where to find sqlite (no quotes!)
+#SQLITE_DIR=${HOME}/bacula/depkgs/sqlite3
SQLITE_DIR=${HOME}/bacula/depkgs/sqlite
TAPE_DRIVE="/dev/nst0"
AUTOCHANGER_PATH="/usr/sbin/mtx"
# Set your database here
+#SQLITE_DIR=${HOME}/bacula/depkgs/sqlite3
WHICHDB?="--with-sqlite=${SQLITE_DIR}"
#WHICHDB="--with-mysql=${HOME}/mysql"
#
scripts/cleanup
-if test ! x@autochanger@ = x/dev/null; then
+if test x@autochanger@ != x/dev/null; then
slot=`bin/mtx-changer @autochanger@ loaded 0 @tape_drive1@ 1`
echo "Slot $slot in drive 1"
- if test ! x$slot = x0 ; then
+ if test x$slot != x0 ; then
echo "unload slot $slot in drive 1"
bin/mtx-changer @autochanger@ unload $slot @tape_drive1@ 1
fi
slot=`bin/mtx-changer @autochanger@ loaded 0 @tape_drive@ 0`
echo "Slot $slot in drive 0"
- if test ! x$slot = x0 ; then
+ if test x$slot != x0 ; then
echo "unload slot $slot in drive 0"
bin/mtx-changer @autochanger@ unload $slot @tape_drive@ 0
fi
slot=`bin/mtx-changer @autochanger@ loaded 0 @tape_drive1@ 1`
- if test ! x$slot = x2; then
+ if test x$slot != x2; then
echo "load slot 2 in drive 1"
bin/mtx-changer @autochanger@ load 2 @tape_drive1@ 1
fi
slot=`bin/mtx-changer @autochanger@ loaded 0 @tape_drive@ 0`
echo "Slot $slot in drive 0"
- if test ! x$slot = x1; then
+ if test x$slot != x1; then
echo "load slot 1 in drive 0"
bin/mtx-changer @autochanger@ load 1 @tape_drive@ 0
fi
#
scripts/cleanup
-if test ! x@autochanger@ = x/dev/null; then
+if test x@autochanger@ != x/dev/null; then
drive=`bin/mtx-changer @autochanger@ loaded`
- if test ! x${drive} = x2; then
+ if test x${drive} != x2; then
bin/mtx-changer @autochanger@ unload 0 @tape_drive@ 0
bin/mtx-changer @autochanger@ load 2 @tape_drive@ 0
fi
#
# If we have an autochanger always load tape in slot 1
#
-if test ! x@autochanger@ = x/dev/null; then
+if test x@autochanger@ != x/dev/null; then
drive=`bin/mtx-changer @autochanger@ loaded`
- if test ! x${drive} = x1; then
+ if test x${drive} != x1; then
bin/mtx-changer @autochanger@ unload 0 @tape_drive@ 0
bin/mtx-changer @autochanger@ load 1 @tape_drive@ 0
fi