The spaces in variables have been stripped since commit551e04f3c9("base-files: strip space and tab characters from ASCII mac address"), resulting "Vfac_mac " matches nothing. Fix the issue by removing the space at end. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> Link: https://github.com/openwrt/openwrt/pull/18150 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit2091c29578)