|
|
@@ -84,8 +84,7 @@ start_service() {
|
|
|
write_lldpd_conf
|
|
|
|
|
|
procd_open_instance
|
|
|
- procd_set_param command /usr/sbin/lldpd
|
|
|
- procd_append_param command -d # don't daemonize, procd will handle that for us
|
|
|
+ procd_set_param command /usr/sbin/lldpd -d
|
|
|
|
|
|
[ $enable_cdp -gt 0 ] && procd_append_param command '-c'
|
|
|
[ $enable_fdp -gt 0 ] && procd_append_param command '-f'
|