diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/base-files/Makefile | 4 | ||||
-rw-r--r-- | package/base-files/files/etc/device_info | 6 | ||||
-rw-r--r-- | package/base-files/files/etc/openwrt_release | 14 |
3 files changed, 13 insertions, 11 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 76a4dab..10724b3 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -110,7 +110,9 @@ define Package/base-files/install $(VERSION_SED) \ $(1)/etc/banner \ - $(1)/etc/openwrt_version \ + $(1)/etc/openwrt_version + + $(VERSION_SED_SCRIPT) \ $(1)/etc/openwrt_release \ $(1)/etc/device_info diff --git a/package/base-files/files/etc/device_info b/package/base-files/files/etc/device_info index da2c4a3..2962cd7 100644 --- a/package/base-files/files/etc/device_info +++ b/package/base-files/files/etc/device_info @@ -1,3 +1,3 @@ -DEVICE_MANUFACTURER="%M" -DEVICE_PRODUCT="%P" -DEVICE_REVISION="%h" +DEVICE_MANUFACTURER='%M' +DEVICE_PRODUCT='%P' +DEVICE_REVISION='%h' diff --git a/package/base-files/files/etc/openwrt_release b/package/base-files/files/etc/openwrt_release index 384386a..9b2a40c 100644 --- a/package/base-files/files/etc/openwrt_release +++ b/package/base-files/files/etc/openwrt_release @@ -1,7 +1,7 @@ -DISTRIB_ID="%D" -DISTRIB_RELEASE="%C" -DISTRIB_REVISION="%R" -DISTRIB_CODENAME="%n" -DISTRIB_TARGET="%S" -DISTRIB_DESCRIPTION="%D %N %V" -DISTRIB_TAINTS="%t" +DISTRIB_ID='%D' +DISTRIB_RELEASE='%C' +DISTRIB_REVISION='%R' +DISTRIB_CODENAME='%n' +DISTRIB_TARGET='%S' +DISTRIB_DESCRIPTION='%D %N %V' +DISTRIB_TAINTS='%t' |