Michael Biebl wrote:
Hi Petter!

Petter Reinholdtsen wrote:
 ### BEGIN INIT INFO
 # Provides:          NetworkManagerDispatcher
-# Required-Start:    $local_fs
-# Required-Stop:     $local_fs
+# Required-Start:    $remote_fs
+# Required-Stop:     $remote_fs

I'm wondering if this should be
Required-Start: $local_fs $remote_fs
or only
Required-Start: $remote_fs

The documentation at http://wiki.debian.org/LSBInitScripts is not clear about that, but there seem to be a lot of init scripts in /etc/init.d which use "$local_fs $remote_fs" contrary to your proposed "$remote_fs".

Sorry, I must have been blind :-P
The wiki actually explains that $remote_fs implies $local_fs so specifying is not necessary. As a lot of people will copy&paste existing solutions though, maybe it would be a good idea to fix the existing init scripts with "$local_fs $remote_fs". Do you think it would be possible to write a lintian test which covers such common errors.

Cheers,
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to