#584805 /etc/init.d/lldpd providing a way to not run the daemon

Package:
lldpd
Source:
lldpd
Description:
implementation of IEEE 802.1ab (LLDP)
Submitter:
Fabrice Lorrain
Date:
2010-06-06 20:45:11 UTC
Severity:
wishlist
#584805#5
Date:
2010-06-06 18:57:26 UTC
From:
To:
Hello,

Even though /etc/init.d/lldpd reads /etc/default/lldp, it doesn't provide a way to
not start the daemon.

Checking the status of a variable like START_DAEMON in the init script would
help.

Thanks.

@+,
    Fab

#584805#10
Date:
2010-06-06 20:24:09 UTC
From:
To:
[Fabrice Lorrain]

If you want to disable the daemon, change the S* symlinks in
/etc/rcX.d/ to K* symlinks and run update-rc.d to update the boot
ordering.  The sysv-rc version of update-rc.d provide experimental
support for doing this for you.  Use

  update-rc.d llpd disable

This is the intended way to disable services with sysv init.d scripts.

happy hacking,

#584805#15
Date:
2010-06-06 20:43:14 UTC
From:
To:
tags 584805 + wontfix
thanks

OoO Pendant  le journal télévisé du  dimanche 06 juin  2010, vers 20:57,
Fabrice Lorrain <Fabrice.Lorrain@free.fr> disait :

Hi!

As said by Petter, the correct way  to disable the daemon is to ask your
init  to  not start  it.  Variables in  /etc/default  are  only used  by
packages that have a good reason to be installed while the daemon is not
running.  For example,  rsync which  is usually  installed only  for the
client part.