This file is indexed.

/usr/lib/bareos/scripts/bconsole is in bareos-bconsole 14.2.6-3.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
which dirname >/dev/null
# does dirname exit?
if [ $? = 0 ] ; then
  cwd=`dirname $0`
  if [ x$cwd = x. ]; then
     cwd=`pwd`
  fi
  if [ x$cwd = x/usr/sbin ] ; then
     echo "bconsole not properly installed."
     exit 1
  fi
fi
if [ x/usr/sbin = x/etc/bareos ]; then
   echo "bconsole not properly installed."
   exit 1
fi
if [ $# = 1 ] ; then
   echo "doing bconsole $1.conf"
   /usr/sbin/bconsole -c $1.conf
else
   /usr/sbin/bconsole -c /etc/bareos/bconsole.conf
fi