]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
redhat: ensure /etc/sysconfig/lldpd is correctly populated
authorVincent Bernat <vincent@bernat.im>
Tue, 7 Mar 2017 10:19:08 +0000 (11:19 +0100)
committerVincent Bernat <vincent@bernat.im>
Tue, 7 Mar 2017 10:19:08 +0000 (11:19 +0100)
Patch courtesy of Martin Hauke. See: https://build.opensuse.org/request/show/477422

redhat/lldpd.spec

index e7b7a169b50c4ae08d8d41a475b695b82616de36..b6290d02f3e59b0f683479d82ac2377dcdf52dab 100644 (file)
@@ -224,6 +224,7 @@ if getent passwd %lldpd_user >/dev/null 2>&1 ; then : ; else \
 %if 0%{?suse_version} >= 1210 && %{with systemd}
 %post
 %service_add_post lldpd.service
+%{fillup_only}
 %preun
 %service_del_preun lldpd.service
 %postun