### BEGIN INIT INFO # Provides: aprs # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start daemon aprs / ax25 at boot time # Description: Enable service provided by aprs / ax25 and aprx daemon. ### END INIT INFO # If you want a command to always run, put it here # Carry out specific functions when asked to by the system case "$1" in start) echo "Starting ax25 services" /etc/ax25/ax25-up sleep 5 /sbin/aprx start ;; stop) echo "Stopping ax25 servcies and aprx" # kill application you want to stop killall aprx /etc/ax25/ax25-down ;; *) echo "Usage: /etc/init.d/aprs {start|stop}" exit 1 ;; esac exit 0