diff options
| author | Paul Donald | 2024-02-08 20:42:11 +0000 |
|---|---|---|
| committer | Robert Marko | 2024-03-11 08:58:20 +0000 |
| commit | 24a4da527f7e70d9916439a78298de2f4e4af653 (patch) | |
| tree | 6f1e159f4ca42f2b5ef5201bc9c7492c9ccf9ff9 | |
| parent | b039641071b1e9ee9654513ef3229bb97cc379af (diff) | |
| download | openwrt-24a4da527f7e70d9916439a78298de2f4e4af653.tar.gz | |
lldpd: remove unneeded quotes and variable quoting
from commit c98ee4dbb3db0f064d990941cdd82e872da76946
agent-type takes 1 of 3 possible keywords which do not require quoting:
configure lldp agent-type nearest-bridge | nearest-non-tpmr-bridge
| nearest-customer-bridge
Tested on 22.03.5
Signed-off-by: Paul Donald <newtwen@gmail.com>
| -rw-r--r-- | package/network/services/lldpd/files/lldpd.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/lldpd/files/lldpd.init b/package/network/services/lldpd/files/lldpd.init index 3fc47bb3e3..243a32c937 100644 --- a/package/network/services/lldpd/files/lldpd.init +++ b/package/network/services/lldpd/files/lldpd.init @@ -153,7 +153,7 @@ write_lldpd_conf() echo "configure med fast-start enable" >> "$LLDPD_CONF" fi fi - [ -n "$lldp_agenttype" ] && echo "configure lldp agent-type" "\"$lldp_agenttype\"" >> "$LLDPD_CONF" + [ -n "$lldp_agenttype" ] && echo "configure lldp agent-type $lldp_agenttype" >> "$LLDPD_CONF" [ -n "$lldp_portidsubtype" ] && echo "configure lldp portidsubtype" "\"$lldp_portidsubtype\"" >> "$LLDPD_CONF" [ -n "$lldp_platform" ] && echo "configure system platform" "\"$lldp_platform\"" >> "$LLDPD_CONF" [ $lldp_tx_interval -gt 0 ] && echo "configure lldp tx-interval" "$lldp_tx_interval" >> "$LLDPD_CONF" |