summaryrefslogtreecommitdiff
path: root/app/gdp-hmi-launcher2
diff options
context:
space:
mode:
authorsebastien baudouin <sebastien.baudouin@windriver.com>2015-04-16 13:26:27 +0200
committersebastien baudouin <sebastien.baudouin@windriver.com>2015-04-16 13:37:55 +0200
commitc8ce960bd2862b58d394d02b1d49f1d097665adf (patch)
tree0a4afd3f7f24ce268c4605b3604d22c4ff6224fc /app/gdp-hmi-launcher2
parentf03f6810c1860a9dc945a2fb3e0f2921a855fa42 (diff)
downloadgenivi-demo-platform-hmi-c8ce960bd2862b58d394d02b1d49f1d097665adf.tar.gz
GDP-HMI: Change power off
For last User mode support we need to call a service at power off that will be in charge of: - calling node state manager for changing node status into shutding down - make sync for filesystem - call previous define unit poweroff.target
Diffstat (limited to 'app/gdp-hmi-launcher2')
-rw-r--r--app/gdp-hmi-launcher2/gdp-hmi-launcher2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/gdp-hmi-launcher2/gdp-hmi-launcher2.h b/app/gdp-hmi-launcher2/gdp-hmi-launcher2.h
index f10b7ca..c2ebae7 100644
--- a/app/gdp-hmi-launcher2/gdp-hmi-launcher2.h
+++ b/app/gdp-hmi-launcher2/gdp-hmi-launcher2.h
@@ -58,7 +58,7 @@ public:
public slots:
void hmiRequestOffSlot() {
- QString unit = QStringLiteral("poweroff.target");
+ QString unit = QStringLiteral("PowerOff.service");
QString status = m_controller->Show(unit);
sd_journal_print(LOG_DEBUG,
"DEBUG: controller->Show(\"%s\") -> %s\n",