base-files: strip space and tab characters from ASCII mac address
authorShiji Yang <yangshiji66@qq.com>
Mon, 16 Dec 2024 07:09:50 +0000 (15:09 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 4 Jan 2025 18:25:34 +0000 (19:25 +0100)
commit8b5f3ee940793be326aa1c3398c9fe017f18e73a
tree08ef3c1dc935c8eecac818daebe10d44b322ee38
parent676dfd1363fbfc1b92331aa293672f8af9770a02
base-files: strip space and tab characters from ASCII mac address

Spaces and tabs are widely used in variable definitions. We have to
remove them to ensure that get_mac_ascii() works properly.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/17262
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 551e04f3c9c063d885ca7a91db36f27f684a3a5c)
package/base-files/files/lib/functions/system.sh