Re: File naming of scripts in /etc/init.d
- To: firstname.lastname@example.org
- Subject: Re: File naming of scripts in /etc/init.d
- From: Tanguy Ortolo <email@example.com>
- Date: Mon, 25 Jun 2012 12:23:33 +0000 (UTC)
- Message-id: <firstname.lastname@example.org>
- References: <20120625115136.GA27673@localhost>
Steve R. Petruzzello, 2012-06-25 13:51+0200:
> the Debian Policy Manuel, and one can read (subsection 9.3.2 Writing the
> scripts) that "These scripts should be named /etc/init.d/package". I failed to
> find another reference to script naming in the rest of the document.
> So […] 2) some scripts are not named by
> their package's name (hwclock.sh is part of the util-linux package).
About this specific point, while it is relevant to name scripts by the
name of their package, I do not think it should be too strict. Such a
recommendation exists to maintain a bit of order and to avoid conflicts.
However, there are examples of scripts which have a logical name which
is distinct from the name of their package, typically hwclock.sh.
: /` ) Tanguy Ortolo <xmpp:email@example.com> <irc://irc.oftc.net/Tanguy>
| `-' Debian Developer