[Buildroot] [PATCH] lldpd: add sysv init script
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Aug 2 20:14:38 UTC 2016
Hello,
On Tue, 2 Aug 2016 12:24:11 -0400, Vivien Didelot wrote:
> +case $1 in
> + start)
> + printf "Starting lldpd..."
> + start-stop-daemon -S -q -p /var/run/lldpd.pid --exec /usr/sbin/lldpd
We normally do:
printf "Starting foo: "
...
[ $? -eq 0 ] && echo "OK" || echo "FAIL"
so I've changed this and applied. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list