Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   Why /etc/init.d/bootmisc.sh doesn't Required-Start mountnfs-bootclean too? (http://www.linux-archive.org/debian-user/707020-why-etc-init-d-bootmisc-sh-doesnt-required-start-mountnfs-bootclean-too.html)

Regid Ichira 09-24-2012 06:58 PM

Why /etc/init.d/bootmisc.sh doesn't Required-Start mountnfs-bootclean too?
 
$ grep Provides /etc/init.d/mountnfs-bootclean.sh
# Provides: mountnfs-bootclean

$ grep Description /etc/init.d/bootmisc.sh
# Short-Description: Miscellaneous things to be done during bootup.
# Description: Some cleanup. Note, it need to run after mountnfs-bootclean.sh.

$ grep Required-Start /etc/init.d/bootmisc.sh
# Required-Start: $remote_fs


Then why bootmisc.sh is not Required-Start mountnfs-bootclean too?


--- a/etc/init.d/bootmisc.sh 2012-08-11 20:30:40.000000000 +0300
+++ b/etc/init.d/bootmisc.sh 2012-09-24 20:22:22.000000000 +0200
@@ -1,7 +1,7 @@
#!/bin/sh
### BEGIN INIT INFO
# Provides: bootmisc
-# Required-Start: $remote_fs
+# Required-Start: $remote_fs mountnfs-bootclean
# Required-Stop:
# Should-Start: udev
# Default-Start: S


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120924185802.GD16020@mail.nt1.in">http://lists.debian.org/20120924185802.GD16020@mail.nt1.in

Sven Joachim 09-24-2012 07:34 PM

Why /etc/init.d/bootmisc.sh doesn't Required-Start mountnfs-bootclean too?
 
On 2012-09-24 20:58 +0200, Regid Ichira wrote:

> $ grep Provides /etc/init.d/mountnfs-bootclean.sh
> # Provides: mountnfs-bootclean
>
> $ grep Description /etc/init.d/bootmisc.sh
> # Short-Description: Miscellaneous things to be done during bootup.
> # Description: Some cleanup. Note, it need to run after mountnfs-bootclean.sh.
>
> $ grep Required-Start /etc/init.d/bootmisc.sh
> # Required-Start: $remote_fs
>
>
> Then why bootmisc.sh is not Required-Start mountnfs-bootclean too?

Because mountnfs-bootclean is already part of the $remote_fs facility.
Have a look at /etc/insserv.conf and insserv(8).

Cheers,
Sven


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87bogvtdsv.fsf@turtle.gmx.de">http://lists.debian.org/87bogvtdsv.fsf@turtle.gmx.de


All times are GMT. The time now is 07:40 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.