[Type]
[Module]
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]
--- /dev/null
+#!/bin/sh
+
+TIZEN_SDK_INSTALL_PATH=`echo $INSTALLED_PATH`
+if [ -z $TIZEN_SDK_INSTALL_PATH ]
+then
+# echo "There is no TIZEN_SDK_PATH ENV" >> /tmp/emulator.log
+ exit 2;
+fi
+
+gksudo cp ${TIZEN_SDK_INSTALL_PATH}/tools/emulator/etc/tizen_kvm /etc/init.d/
+gksudo update-rc.d tizen-kvm defaults
+
--- /dev/null
+#!/bin/sh
+
+TIZEN_SDK_INSTALL_PATH=`echo $INSTALLED_PATH`
+if [ -z $TIZEN_SDK_INSTALL_PATH ]
+then
+# echo "There is no TIZEN_SDK_PATH ENV" >> /tmp/emulator.log
+ exit 2;
+fi
+
+gksudo cp ${TIZEN_SDK_INSTALL_PATH}/tools/emulator/etc/tizen_kvm /etc/init.d/
+gksudo update-rc.d tizen-kvm defaults
+
exit 2;
fi
-sudo update-rc.d tizen-kvm remove
-sudo rm -f /etc/init.d/tizen_kvm
+gksudo update-rc.d tizen-kvm remove
+gksudo rm -f /etc/init.d/tizen_kvm
exit 2;
fi
-sudo cp ${TIZEN_SDK_INSTALL_PATH}/tools/emulator/etc/tizen_kvm /etc/init.d/
-sudo update-rc.d tizen-kvm defaults
+gksudo update-rc.d tizen-kvm remove
+gksudo rm -f /etc/init.d/tizen_kvm