aboutsummaryrefslogtreecommitdiffstats
path: root/packages/cortexa57-poky-linux/connman/connman/latest.pkg_prerm
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cortexa57-poky-linux/connman/connman/latest.pkg_prerm')
-rw-r--r--packages/cortexa57-poky-linux/connman/connman/latest.pkg_prerm10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/cortexa57-poky-linux/connman/connman/latest.pkg_prerm b/packages/cortexa57-poky-linux/connman/connman/latest.pkg_prerm
new file mode 100644
index 000000000000..05b7d0ef98ce
--- /dev/null
+++ b/packages/cortexa57-poky-linux/connman/connman/latest.pkg_prerm
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -e
+ update-alternatives --remove resolv-conf /etc/resolv-conf.connman
+if systemctl >/dev/null 2>/dev/null; then
+ if [ -z "$D" ]; then
+ systemctl stop connman.service
+
+ systemctl disable connman.service
+ fi
+fi