]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
_lldpd is not considered as a valid name on most systems. We override
authorVincent Bernat <bernat@luffy.cx>
Sun, 16 Nov 2008 19:02:17 +0000 (20:02 +0100)
committerVincent Bernat <bernat@luffy.cx>
Sun, 16 Nov 2008 19:02:17 +0000 (20:02 +0100)
this warning.

debian/postinst

index 017b81e7d2d19f6592a41d2b065ce25aea73c353..a3914c2446208dd697a699dcba040fef5283eef9 100644 (file)
@@ -5,7 +5,7 @@ if ! ([ "$1" = "configure" ] || [ "$1" = "reconfigure" ]); then
 fi
 
 adduser --system --disabled-password --disabled-login --home /var/run/lldpd \
-               --no-create-home --quiet --group _lldpd
+               --no-create-home --quiet --force-badname --group _lldpd
 [ -d /var/run/lldpd ] || mkdir -p /var/run/lldpd
 
 #DEBHELPER#