lldpd: remove unneeded quotes and variable quoting
from commit24176a6bddTested on 22.03.5 Signed-off-by: Paul Donald <newtwen@gmail.com> (cherry picked from commit20a4dddeb0) Link: https://github.com/openwrt/openwrt/pull/15299 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
committed by
Robert Marko
parent
b1ddf0a859
commit
4446346fdd
@@ -148,7 +148,7 @@ write_lldpd_conf()
|
|||||||
[ -n "$lldp_syscapabilities" ] && echo "configure system capabilities enabled" "\"$lldp_syscapabilities\"" >> "$LLDPD_CONF"
|
[ -n "$lldp_syscapabilities" ] && echo "configure system capabilities enabled" "\"$lldp_syscapabilities\"" >> "$LLDPD_CONF"
|
||||||
if [ "$CONFIG_LLDPD_WITH_LLDPMED" == "y" ] && [ $lldpmed_fast_start -gt 0 ]; then
|
if [ "$CONFIG_LLDPD_WITH_LLDPMED" == "y" ] && [ $lldpmed_fast_start -gt 0 ]; then
|
||||||
if [ $lldpmed_fast_start_tx_interval -gt 0 ]; then
|
if [ $lldpmed_fast_start_tx_interval -gt 0 ]; then
|
||||||
echo "configure med fast-start tx-interval" "\"$lldpmed_fast_start_tx_interval\"" >> "$LLDPD_CONF"
|
echo "configure med fast-start tx-interval $lldpmed_fast_start_tx_interval" >> "$LLDPD_CONF"
|
||||||
else
|
else
|
||||||
echo "configure med fast-start" "enable" >> "$LLDPD_CONF"
|
echo "configure med fast-start" "enable" >> "$LLDPD_CONF"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user