This file is indexed.

/usr/lib/kannel/checks/check_smpp.sh is in kannel-extras 1.4.3-2fakesync2build1.

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
30
31
32
33
34
35
36
37
38
#!/bin/sh
#
# Use `test/drive_smpp' to test SMPP driver.

set -e
#set -x

times=10

test/drive_smpp -v 0 -m $times 2> check_smpp_drive.log & 
sleep 1

gw/bearerbox -v 0 test/drive_smpp.conf 2> check_smpp_bb.log &  
bbpid=$!

running=yes
while [ $running = yes ]
do
    sleep 1
    if grep "All messages sent to ESME." check_smpp_drive.log > /dev/null  
    then
        running=no
    fi
done
sleep 5

kill -INT $bbpid

if grep 'WARNING:|ERROR:|PANIC:' check_smpp*.log >/dev/null
then
        echo check_smpp.sh failed 1>&2
        echo See check_smpp*.log for info 1>&2
        exit 1
fi

rm -f check_smpp*.log 

exit 0