From: C Schuman <k4gbb1@embarqmail.com>
To: Patrick Ouellette <pat@flying-gecko.net>
Cc: Linux-Hams <linux-hams@vger.kernel.org>
Subject: Re: AX25 in /etc/init.d
Date: Fri, 01 May 2009 16:40:02 -0400 [thread overview]
Message-ID: <49FB5E22.2070000@embarqmail.com> (raw)
In-Reply-To: <20090501200629.GB4652@flying-gecko.net>
Patrick Ouellette wrote:
> On Thu, Apr 30, 2009 at 11:42:48PM -0400, C Schuman wrote:
>
>> I installed AX.25 on a system a couple of days ago and when I copied my
>> usual ax25 script into /etc/init.d/ I received a message saying that the
>> script did not have a proper header. The script worked without any
>> problem, but it started me thinking. Most Ax.25 Howto Docs make little
>> of the bootup process. Some even suggest that the kissattach and other
>> config commands be placed in the rc.local file.
>>
>> AX.25 is becoming a major work in Linux systems. It deserves to have
>> it's own boot script. I have been using the same script for years and I
>> recently added the the requested header. I would like to suggest that
>> AX.25 How to docs include the use of such a script and have attached my
>> script as an example.
>>
>> 73
>> <<Charley>>
>> k4gbb
>>
>> #! /bin/bash
>> # Provided by Charles S Schuman ( K4GBB )
>> # 04/29/09
>>
>> ### BEGIN INIT INFO
>> # Provides: ax25
>> # Required-Start: /etc/ax25/ax25-up
>> # Required-Stop: /etc/ax25/ax25-down
>> # Default-Start: 3 4 5
>> # Default-Stop: 0 1 2 6
>> # Short-Description: Ax.25 initialization
>> # Description: This script provides the control for the ax.25 packet
>> radio service.
>> # The fine tuneing is accomplished via /etc/ax25/ax25-up and
>> /etc/ax25/ax25-down.
>> #
>> ### END INIT INFO
>>
>>
>
> I assume the lines between "BEGIN INIT INFO" and "END INIT INFO" are the
> header lines you are referring to. If so, please understand that not all
> Linux distributions use the same startup process and so do not necessarily
> use or require those headers.
>
> FWIW, Debian includes a startup script in the ax25-tools package. It sets up
> the mheardd, ax25d, and netromd.
>
> 73,
>
> Pat
>
Thanks Pat,
Yes, your assumption is correct.
I use Ubuntu and Debian. I have never seen any of the Debian Startup
scripts for AX.25.
The problem with with most of the supplied or example start scripts is
that they never do what you want them to do.
The Linux HAM Radio community are an assorted lot. I have approx 14
Packet Radio servers and no two are the same.
I have been Elmering a number of individuals who are attempting their
first installion of Linux. Some just want a RMS Gate.
Others want a BBS, Node and an assortment of other apps.
My point was not really "We need to add Header Info", but more toward
the "We need a more versatile script"
By pointing our start up script at /etc/ax25/ax25-up & down we can use a
common script to transition to an uncommon system initialization.
73
<<Charley>>
k4gbb
next prev parent reply other threads:[~2009-05-01 20:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-01 3:42 AX25 in /etc/init.d C Schuman
2009-05-01 20:06 ` Patrick Ouellette
2009-05-01 20:40 ` C Schuman [this message]
2009-05-01 21:47 ` Patrick Ouellette
2009-05-01 22:38 ` Ray Wells
2009-05-01 22:57 ` C Schuman
2009-05-01 22:46 ` C Schuman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49FB5E22.2070000@embarqmail.com \
--to=k4gbb1@embarqmail.com \
--cc=linux-hams@vger.kernel.org \
--cc=pat@flying-gecko.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox