coolsnowwolf / luci

LuCI - OpenWrt Configuration Interface
Apache License 2.0
319 stars 608 forks source link

`base-files` 下的 `banner` ,`device_info`...文件中的占位符号是什么地方被替换的? #156

Closed garryshield closed 2 years ago

garryshield commented 2 years ago

比方说 package/base-files/files/etc/openwrt_release

DISTRIB_ID='%D'
DISTRIB_RELEASE='%V'
DISTRIB_REVISION='%R'
DISTRIB_TARGET='%S'
DISTRIB_ARCH='%A'
DISTRIB_DESCRIPTION='%D %V %C'
DISTRIB_TAINTS='%t'

中的 '%D'

有全文搜索过没有找到。

garryshield commented 2 years ago

sorry my bad just find it

https://github.com/coolsnowwolf/lede/blob/master/include/version.mk#L89