#!/usr/bin/execlineb -P
# lldpd in foreground (-d -d -d), matching debian/sv/lldpd.
# Extra flags from /etc/default/lldpd as DAEMON_ARGS.

envfile -I /etc/default/lldpd
importas -sCuD "" DAEMON_ARGS DAEMON_ARGS
envfile -I /etc/s6-rc/config/lldpd.conf
importas -sCuD "-d -d -d" Args Args

fdmove -c 2 1
exec /usr/sbin/lldpd ${Args} ${DAEMON_ARGS}
