FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 09-24-2012, 06:58 PM
Regid Ichira
 
Default 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
 
Old 09-24-2012, 07:34 PM
Sven Joachim
 
Default 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
 

Thread Tools




All times are GMT. The time now is 10:59 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org