Suppress shutdown indicator in Ubuntu
authorJędrzej Nowacki <jedrzej.nowacki@qt.io>
Mon, 5 Dec 2016 13:03:56 +0000 (14:03 +0100)
committerSimon Hausmann <simon.hausmann@qt.io>
Wed, 7 Dec 2016 13:48:24 +0000 (13:48 +0000)
We want to quit machines without being asked, if we are
really sure.

Change-Id: Ic7156f5b0fe236c0270d8c2e4fcc322a82776caf
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
coin/provisioning/qtci-linux-Ubuntu-14.04-x86_64/001-suppress-shutdown-indicator.sh [new file with mode: 0644]
coin/provisioning/qtci-linux-Ubuntu-15.04-x86_64/001-suppress-shutdown-indicator.sh [new file with mode: 0644]
coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/001-suppress-shutdown-indicator.sh [new file with mode: 0644]
coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/003-apt-update.sh [moved from coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/001-apt-update.sh with 100% similarity]

diff --git a/coin/provisioning/qtci-linux-Ubuntu-14.04-x86_64/001-suppress-shutdown-indicator.sh b/coin/provisioning/qtci-linux-Ubuntu-14.04-x86_64/001-suppress-shutdown-indicator.sh
new file mode 100644 (file)
index 0000000..f11263b
--- /dev/null
@@ -0,0 +1,4 @@
+#!/usr/bin/env sh
+
+# Disable questions on shutdown.
+gsettings set com.canonical.indicator.session suppress-logout-restart-shutdown true
diff --git a/coin/provisioning/qtci-linux-Ubuntu-15.04-x86_64/001-suppress-shutdown-indicator.sh b/coin/provisioning/qtci-linux-Ubuntu-15.04-x86_64/001-suppress-shutdown-indicator.sh
new file mode 100644 (file)
index 0000000..f11263b
--- /dev/null
@@ -0,0 +1,4 @@
+#!/usr/bin/env sh
+
+# Disable questions on shutdown.
+gsettings set com.canonical.indicator.session suppress-logout-restart-shutdown true
diff --git a/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/001-suppress-shutdown-indicator.sh b/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/001-suppress-shutdown-indicator.sh
new file mode 100644 (file)
index 0000000..f11263b
--- /dev/null
@@ -0,0 +1,4 @@
+#!/usr/bin/env sh
+
+# Disable questions on shutdown.
+gsettings set com.canonical.indicator.session suppress-logout-restart-shutdown true