sensord: add chmod command
authormunkyu.im <munkyu.im@samsung.com>
Tue, 23 Apr 2013 07:48:07 +0000 (16:48 +0900)
committermunkyu.im <munkyu.im@samsung.com>
Tue, 23 Apr 2013 07:57:18 +0000 (16:57 +0900)
Change-Id: I1839e0c82713c8215660400a97bc314367ad4f39
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
filesystem/etc/profile.d/sensord_setting.sh
packaging/system-plugin-emulator.spec

index ee0b9d5..2295527 100755 (executable)
@@ -19,19 +19,21 @@ if [ ! -d $CHECK_SENSOR ]; then
        if [ ! -d $CHECK_LIGHT ]; then
                mkdir /opt/sensor/light
        fi
-       
+
        if [ ! -d $CHECK_PROXI ]; then
                mkdir /opt/sensor/proxi
        fi
-       
+
        if [ ! -d $CHECK_GEO ]; then
                mkdir /opt/sensor/geo
        fi
-       
+
        if [ ! -d $CHECK_GYRO ]; then
                mkdir /opt/sensor/gyro
        fi
-       
+
+       chmod -R 777 /opt/seneor/
+
        touch /opt/sensor/accel/name
        echo "accel_sim" > /opt/sensor/accel/name
        touch /opt/sensor/accel/xyz
@@ -79,6 +81,7 @@ else
        echo "1 0 -10" > /opt/sensor/geo/tesla
 fi
 
+
 if [ ! -d $CHECK_NFC ]; then
        mkdir /opt/nfc
        touch /opt/nfc/sdkMsg
index b1e0748..aa1341b 100644 (file)
@@ -1,6 +1,6 @@
 Summary: System plugin for emulator
 Name: system-plugin-emulator
-Version: 0.0.2
+Version: 0.0.3
 Release: 1
 License: Apache-2.0
 Group: System/Base