summaryrefslogtreecommitdiff
path: root/strata/genivi-demo-platform
diff options
context:
space:
mode:
Diffstat (limited to 'strata/genivi-demo-platform')
-rw-r--r--strata/genivi-demo-platform/genivi-demo-platform-hmi.morph8
1 files changed, 8 insertions, 0 deletions
diff --git a/strata/genivi-demo-platform/genivi-demo-platform-hmi.morph b/strata/genivi-demo-platform/genivi-demo-platform-hmi.morph
index 767ea3c..4e545f6 100644
--- a/strata/genivi-demo-platform/genivi-demo-platform-hmi.morph
+++ b/strata/genivi-demo-platform/genivi-demo-platform-hmi.morph
@@ -147,3 +147,11 @@ install-commands:
[Service]
ExecStart=/usr/bin/qml-example
EOF
+- |
+ cat > "$DESTDIR/usr/lib/systemd/user/PowerOff.service" <<EOF
+ [Unit]
+ Description=HMI poweroff
+
+ [Service]
+ ExecStart=/bin/systemctl poweroff
+ EOF