This file is indexed.

/etc/init.d/nvtv is in nvtv 0.4.7-8build1.

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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#!/bin/bash
### BEGIN INIT INFO
# Provides:          nvtv
# Required-Start:    $syslog $local_fs $remote_fs
# Required-Stop:     $syslog $local_fs $remote_fs
# Should-Start:      
# Should-Stop:       
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: NVidia TV-Out server
# Description:       Starts nvtvd, a backend server to control TV output
#                    hardware on NVidia cards.
### END INIT INFO

PATH=/sbin:/bin:/usr/sbin:/usr/bin

NAME=nvtvd
DAEMON=/usr/sbin/$NAME
DESC="NVidia TV-Out server"

test -x $DAEMON || exit 0

# Include defaults if available
if [ -f /etc/default/nvtv ]
then
    . /etc/default/nvtv
fi

. /lib/lsb/init-functions

set -e

case "$1" in
    start)
    	log_daemon_msg "Starting $DESC" "$NAME"
        if start-stop-daemon --quiet --stop --signal 0 --exec $DAEMON
        then
            log_progress_msg "already running"
        else
            start-stop-daemon --start --quiet --background --exec $DAEMON \
                -- $DAEMON_OPTS
        fi
        log_end_msg $?
        ;;
    stop)
        log_daemon_msg "Stopping $DESC" "$NAME"
        if start-stop-daemon --quiet --stop --signal 0 --exec $DAEMON
        then
            start-stop-daemon --stop --quiet --exec $DAEMON
            # Now we wait for it to die
            num=0
            while start-stop-daemon --quiet --stop --signal 0 --exec $DAEMON
            do
                num=$[$num+1]
                if [ $num -gt 10 ]
                then
                    log_end_msg 1
                    break
                fi
                sleep 1
            done
        else
            log_progress_msg "not running"
        fi
	log_end_msg 0
        ;;
    restart|force-reload)
        $0 stop
        $0 start
        ;;
    status)
	status_of_proc "$DAEMON" "$NAME"
	;;
    *)
        log_action_msg "Usage: /etc/init.d/$NAME {start|stop|restart|force-reload|status}"
        exit 1
        ;;
esac

exit 0