This patch is from tizen-2.4.
Change-Id: I21f2767dd81279878bacd44bd44a36f06406ea65
Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
return -EINVAL;
}
+ /* FIXME from systemd-216 of tizen-2.4 */
+ /* Now, in Tizen, some of services are hardly not
+ * terminated. At last, time-out occurred. It can make serious
+ * problem in shutdown process. Until we solve this problem
+ * reboot is performed forcedly. */
+ if (arg_action == ACTION_REBOOT ||
+ arg_action == ACTION_POWEROFF)
+ arg_force = 2;
+
return 1;
}