On Wed, Jul 9, 2008 at 9:31 PM, Marco d'Itri <[EMAIL PROTECTED]> wrote:
>> In order to migrate to lenny in a good quality, please consider fixing
>> this error reported by lintian: /etc/init.d/udev-mtab is not LSB
>> compliant which it can be considered a RC bug.
>
> "Lintian complains about it" is not a great rationale, nor is LSB
> compliance. This is a rcS script.

Even so, all the other rcS scripts are LSB compliant and implemented
the required command arguments for /etc/init.d scripts [1]. If you
want, please include these lines at the beginning of the script:

----
test $# -gt 0 || exit 1
case "$1" in
  start)
        ;;
  stop|restart|force-reload)
        exit 0
        ;;
  *)
        echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
        echo "Warning: this script should be executed only at boot.." >&2
        exit 2
  ;;
esac
----

Or maybe you wish to use the LSB functions log_action_msg or log_daemon_msg.
Thanks


[1]  
http://lintian.debian.org/tags/init.d-script-does-not-implement-required-option.html



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to