Re: File naming of scripts in /etc/init.d

2014-02-05 Thread heroxbd
Petter Reinholdtsen petter.reinholdt...@usit.uio.no writes: Before concurrent running of init.d scripts were implemented in sysv-rc, the .sh scripts would be sourced by /etc/init.d/rc and /etc/init.d/rcS while the non-.sh scripts would be executed. This distinciton were removed when sysv-rc

Re: File naming of scripts in /etc/init.d

2014-02-05 Thread Petter Reinholdtsen
[Benda] What a history! Provided that all the scripts are executed, is there any plan to strip the .sh suffix? Not from me, at least. The advantage would be purely cosmetic, and the effort to make sure every upgrade problem is handled would be significant. But new scripts will not get the .sh

Re: File naming of scripts in /etc/init.d

2014-02-04 Thread Petter Reinholdtsen
I noticed someone was wrong on the Internet, and decided to follow up on this old thread. [Steve R. Petruzzello] I noticed that some scripts in /etc/init.d/ are suffixed by .sh and some are not. [...] All except console-screen.sh, hwclock.sh and keymap.sh are from the initscripts package.

Re: File naming of scripts in /etc/init.d

2012-06-27 Thread Steve R. Petruzzello
Dear all, Thank you for your answers. Le 25-06-2012, à 15:21:02 +0100, Roger Leigh (rle...@codelibre.net) a écrit : On Mon, Jun 25, 2012 at 03:59:30PM +0200, Steve R. Petruzzello wrote: Le 25-06-2012, à 14:47:58 +0100, Roger Leigh (rle...@codelibre.net) a écrit : On Mon, Jun 25,

File naming of scripts in /etc/init.d

2012-06-25 Thread Steve R. Petruzzello
Hi, I noticed that some scripts in /etc/init.d/ are suffixed by .sh and some are not. On my sytem: host:/etc/init.d# ls -1 *.sh bootmisc.sh checkfs.sh checkroot.sh console-screen.sh hostname.sh hwclock.sh keymap.sh mountall-bootclean.sh mountall.sh mountdevsubfs.sh mountkernfs.sh

Re: File naming of scripts in /etc/init.d

2012-06-25 Thread Vincent Zweije
On Mon, Jun 25, 2012 at 01:51:36PM +0200, Steve R. Petruzzello wrote: || I noticed that some scripts in /etc/init.d/ are suffixed by .sh and some || are not. On my sytem: [...] || So 1) nowhere is .sh suffixing mentioned and 2) some scripts are not named || by their package's name

Re: File naming of scripts in /etc/init.d

2012-06-25 Thread Tanguy Ortolo
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

Re: File naming of scripts in /etc/init.d

2012-06-25 Thread Roger Leigh
On Mon, Jun 25, 2012 at 01:51:36PM +0200, Steve R. Petruzzello wrote: I noticed that some scripts in /etc/init.d/ are suffixed by .sh and some are not. [...] All except console-screen.sh, hwclock.sh and keymap.sh are from the initscripts package. So 1) nowhere is .sh suffixing mentioned and

Re: File naming of scripts in /etc/init.d

2012-06-25 Thread Simon McVittie
On 25/06/12 14:47, Roger Leigh wrote: On Mon, Jun 25, 2012 at 01:51:36PM +0200, Steve R. Petruzzello wrote: PS: Is there a way to list all packages putting a file in /etc/init.d/? dpkg -S $(ls -1 /etc/init.d/*) Or if you want the complete set, not just those you have installed, install

Re: File naming of scripts in /etc/init.d

2012-06-25 Thread Steve R. Petruzzello
Le 25-06-2012, à 14:47:58 +0100, Roger Leigh (rle...@codelibre.net) a écrit : On Mon, Jun 25, 2012 at 01:51:36PM +0200, Steve R. Petruzzello wrote: I noticed that some scripts in /etc/init.d/ are suffixed by .sh and some are not. [...] All except console-screen.sh, hwclock.sh and keymap.sh

Re: File naming of scripts in /etc/init.d

2012-06-25 Thread Roger Leigh
On Mon, Jun 25, 2012 at 03:59:30PM +0200, Steve R. Petruzzello wrote: Le 25-06-2012, à 14:47:58 +0100, Roger Leigh (rle...@codelibre.net) a écrit : On Mon, Jun 25, 2012 at 01:51:36PM +0200, Steve R. Petruzzello wrote: I noticed that some scripts in /etc/init.d/ are suffixed by .sh and some