[FIX] Check container feature 79/46979/1
authorAlexander Aksenov <a.aksenov@samsung.com>
Tue, 25 Aug 2015 13:23:45 +0000 (16:23 +0300)
committerAlexander Aksenov <a.aksenov@samsung.com>
Thu, 27 Aug 2015 11:12:42 +0000 (14:12 +0300)
Change-Id: I05cb93b777ba028b14253573b9e41f27f7f7bcfc
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
scripts/start.sh

index 15b0f10..a7ccc73 100755 (executable)
@@ -16,8 +16,8 @@ PATH=$PATH:/usr/sbin/
 
 config_file="/etc/config/model-config.xml"
 if [ -e $config_file ]; then
-       grep -i "feature/container[^>]*>[[:blank:]]*false" "$config_file" > /dev/null
-       if [ $? -ne 0 ]; then
+       grep -i "feature/container[^>]*>[[:blank:]]*true" "$config_file" > /dev/null
+       if [ $? -eq 0 ]; then
                /bin/echo $ERR_CONTAINER_NOT_SUPPORTED_ST
                exit $ERR_CONTAINER_NOT_SUPPORTED
        fi