From d5653558ac0044824974c7e73d349e4b2747e3ab Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 29 Jul 2014 13:30:23 +0000 Subject: base-files: properly escape strings for version info Make sure they don't break the sed command, and also make device_info and openwrt_release more robust for parsing by scripts Signed-off-by: Felix Fietkau SVN-Revision: 41885 --- package/base-files/files/etc/device_info | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/base-files/files/etc/device_info') diff --git a/package/base-files/files/etc/device_info b/package/base-files/files/etc/device_info index da2c4a3b9d..2962cd7fd5 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' -- cgit v1.2.3