aboutsummaryrefslogtreecommitdiffstats
path: root/packages/cortexa57-poky-linux/connman/connman-wait-online/latest.pkg_prerm
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cortexa57-poky-linux/connman/connman-wait-online/latest.pkg_prerm')
-rw-r--r--packages/cortexa57-poky-linux/connman/connman-wait-online/latest.pkg_prerm9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/cortexa57-poky-linux/connman/connman-wait-online/latest.pkg_prerm b/packages/cortexa57-poky-linux/connman/connman-wait-online/latest.pkg_prerm
new file mode 100644
index 00000000000..9d6edfe2084
--- /dev/null
+++ b/packages/cortexa57-poky-linux/connman/connman-wait-online/latest.pkg_prerm
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -e
+if systemctl >/dev/null 2>/dev/null; then
+ if [ -z "$D" ]; then
+ systemctl stop connman-wait-online.service
+
+ systemctl disable connman-wait-online.service
+ fi
+fi