4
# Required-Start: $remote_fs $syslog
5
# Required-Stop: $remote_fs $syslog
6
# Default-Start: 2 3 4 5
8
# Short-Description: Start aprsd daemon.
11
PATH=/bin:/usr/bin:/sbin:/usr/sbin
12
DAEMON=/usr/sbin/aprsd
15
test -f $DAEMON || exit 0
20
update-inetd --disable ftp
21
echo -n "Starting APRS gateway: "
22
start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid --exec $DAEMON -- -d
27
echo -n "Stopping APRS gateway: "
28
start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/$NAME.pid --exec $DAEMON
38
echo "Usage: /etc/init.d/$NAME {start|stop|restart}"