This file is indexed.

/usr/share/doc/baycomusb/examples/baycomusb.initscript is in baycomusb 0.10-14.

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
#! /bin/sh
#
# baycomusb     Start Baycom USB driver.
#
# Author:       Thomas Sailer, <sailer@ife.ee.ethz.ch>
#
# chkconfig: 345 50 50
# description: Baycom USB daemon
# processname: baycomusbserv
# pidfile: /var/run/baycomusb.pid

# Source function library.
. /etc/rc.d/init.d/functions

# Get config.
. /etc/sysconfig/network

## Check that networking is up.
#if [ ${NETWORKING} = "no" ]
#then
#	exit 0
#fi

[ -f /usr/sbin/baycomusbserv ] || exit 0

RETVAL=0

start()
{
	rm -f /var/hamradio/transceivers/*
	#/sbin/modprobe baycom_usb
        echo -n "Starting baycomusbserv:"
        daemon /usr/sbin/baycomusbserv -d -ORBIIOPIPv4=0 -ORBIIOPIPv6=0
        RETVAL=$?
        echo
        [ "$RETVAL" = 0 ] && touch /var/lock/subsys/baycomusb
}

stop()
{
        echo -n "Stopping baycomusbserv:"
        killproc /usr/sbin/baycomusbserv
        RETVAL=$?
        echo
        [ "$RETVAL" = 0 ] && rm -f /var/lock/subsys/baycomusb
}

case "$1" in
  start)
        start
        ;;
  stop)
        stop
        ;;
  restart)
        stop
        start
        ;;
  condrestart)
        if [ -f /var/lock/subsys/baycomusb ] ; then
                stop
                start
        fi
        ;;
  status)
        status /usr/sbin/baycomusbserv
        ;;
  *)
        echo "Usage: baycomusb {start|stop|restart|condrestart|status}"
        RETVAL=1
esac
exit $RETVAL