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 15:20:46 +0000 (16:20 +0100)
commit551e04f3c9c063d885ca7a91db36f27f684a3a5c
tree0fd88f7bedfc250cdb47327913c61071980fa125
parent3410ad2f40c085e5db7a71f6ae4b80734826a1e3
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>
package/base-files/files/lib/functions/system.sh