This file is indexed.

/usr/lib/kannel/checks/check_fakewap.sh is in kannel-extras 1.4.4-4.

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
39
40
41
42
43
44
45
46
#!/bin/sh
#
# Use `test/fakewap' to test the bearerbox and the wapbox.

set -e
#set -x

host=127.0.0.1
times=2
port=8040
url="http://$host:$port/hello.wml"
loglevel=0

test/test_http_server -f test/hello.wml -p $port > check_http.log 2>&1 &
httppid=$!

gw/bearerbox -v $loglevel gw/wapkannel.conf > check_bb.log 2>&1 &
bbpid=$!

sleep 2

gw/wapbox -v $loglevel gw/wapkannel.conf > check_wap.log 2>&1 &
wappid=$!

sleep 2

test/fakewap -g $host -m $times $url > check_fake.log 2>&1
ret=$?

test/test_http -qv 4 http://$host:$port/quit

kill -INT $bbpid 
kill -INT $wappid
wait

if [ "$ret" != 0 ]
then
	echo check_fakewap failed 1>&2
	echo See check_bb.log, check_wap.log, check_fake.log, 1>&2
	echo check_http.log for info 1>&2
	exit 1
fi

rm -f check_bb.log check_wap.log check_fake.log check_http.log

exit 0