Sync with the latest code of phone profile
[platform/framework/web/data-provider-master.git] / src / setting.c
index f6d204b..4e75ab4 100644 (file)
@@ -85,16 +85,7 @@ static void power_off_cb(keynode_t *node, void *user_data)
        }
 
        if (val == VCONFKEY_SYSMAN_POWER_OFF_DIRECT || val == VCONFKEY_SYSMAN_POWER_OFF_RESTART) {
-               int fd;
-
-               fd = creat("/tmp/.stop.provider", 0644);
-               if (fd < 0 || close(fd) < 0) {
-                       ErrPrint("stop.provider [%s]\n", strerror(errno));
-               }
-
-               vconf_set_bool(VCONFKEY_MASTER_STARTED, 0);
-               //exit(0);
-               ecore_main_loop_quit();
+               DbgPrint("Power off requested: Ignored\n");
        } else {
                ErrPrint("Unknown power state: %d\n", val);
        }