# Read configuration variable file if it is present
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
-[ -f /lib/init/vars.sh ] && . /lib/init/vars.sh
+# LSB log_* functions
. /lib/lsb/init-functions
do_chroot()
-# liblldpctl0 is tightly coupled with lldpd because of the use of a
+# liblldpctl is tightly coupled with lldpd because of the use of a
# binary RPC mechanism between the library and lldpd. The library can
# only work with the exact version of lldpd it was compiled with.
-lldpd binary: package-name-doesnt-match-sonames liblldpctl0
+lldpd binary: package-name-doesnt-match-sonames liblldpctl4
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
if ! ([ "$1" = "configure" ] || [ "$1" = "reconfigure" ]); then
exit 0
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
#DEBHELPER#
-liblldpctl.so.0 lldpd #MINVER#
+liblldpctl.so.4 lldpd #MINVER#
lldpctl_atom_create@Base 0.7.3
lldpctl_atom_dec_ref@Base 0.7.3
lldpctl_atom_get@Base 0.7.3