This file is indexed.

/etc/init.d/pcapdump is in pcaputils 0.8-1.

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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/bin/sh

DAEMON=/usr/bin/pcapdump
NAME=pcapdump

ENABLED=0

test -x $DAEMON || exit 0

test -f /etc/default/pcapdump && . /etc/default/pcapdump
             
test "$ENABLED" != "0" || exit 0
test ! -z "$INSTANCES" || exit 0

mkdir -p /var/run/pcapdump

for INSTANCE in $INSTANCES; do

    PIDFILE="/var/run/pcapdump/$INSTANCE.pid"
    OPTIONS="-C /etc/pcapdump/$INSTANCE -P $PIDFILE"

    case "$1" in
        start)
            echo -n "Starting $NAME: "
            start-stop-daemon --start --pidfile $PIDFILE \
                --name $NAME --oknodo --startas $DAEMON \
                -- $OPTIONS
            echo "$INSTANCE."
            ;;

        stop)
            echo -n "Stopping $NAME: "
            start-stop-daemon --stop --pidfile $PIDFILE --name $NAME --oknodo
            echo "$INSTANCE."
            ;;

        restart|force-reload)
            echo -n "Restarting $NAME: "
            start-stop-daemon --stop --pidfile $PIDFILE --name $NAME \
                --retry 30 --oknodo
            start-stop-daemon --start --pidfile $PIDFILE \
                --name $NAME --oknodo --startas $DAEMON \
                -- $OPTIONS
            echo "$INSTANCE."
            ;;

        *)
            N=/etc/init.d/$NAME
            echo "Usage: $N {start|stop|restart|force-reload}" >&2
            exit 1
            ;;
    esac

done

exit 0

### BEGIN INIT INFO
# Provides:          pcapdump
# Required-Start:    $network $remote_fs $syslog
# Required-Stop:     $network $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
### END INIT INFO