blob: a1b2266b615e721147a545d40d9e497fd3079929 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
set -e
case "$1" in
configure|reconfigure)
adduser --system --disabled-password --disabled-login --home /run/lldpd \
--no-create-home --quiet --force-badname --group _lldpd
for i in /usr/sbin/lldpcli; do
if ! dpkg-statoverride --list $i > /dev/null 2>&1; then
dpkg-statoverride --update --add _lldpd adm 4750 $i
fi
done
;;
esac
#DEBHELPER#
exit 0
|