This file is indexed.

/usr/sbin/icinga2 is in icinga2-bin 2.4.1-2ubuntu1.

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
24
25
26
27
28
29
#!/bin/sh
ICINGA2_BIN=/usr/lib/x86_64-linux-gnu/icinga2/sbin/icinga2

if test "x`uname -s`" = "xLinux" -a "x$1" = "xconsole"; then
  libedit_line=`ldd $ICINGA2_BIN 2>&1 | grep libedit`
  if test $? -eq 0; then
    libedit_path=`echo $libedit_line | cut -f3 -d' '`
    if test -n "$libedit_path"; then
      libdir=`dirname -- $libedit_path`
      found=0
      for libreadline_path in `ls -1r -- $libdir/libreadline.so.* 2>/dev/null`; do
        found=1
        break
      done
      if test $found -eq 0; then
        libdir2=/`echo $libdir | cut -f3- -d/`
        for libreadline_path in `ls -1r -- $libdir2/libreadline.so.* 2>/dev/null`; do
          found=1
          break
        done
      fi
      if test $found -gt 0; then
        export LD_PRELOAD="$libreadline_path:$LD_PRELOAD"
      fi
    fi
  fi
fi

exec $ICINGA2_BIN "$@"