summaryrefslogtreecommitdiffstats
path: root/configuration/debian/tedge_mapper/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'configuration/debian/tedge_mapper/postinst')
-rw-r--r--configuration/debian/tedge_mapper/postinst4
1 files changed, 2 insertions, 2 deletions
diff --git a/configuration/debian/tedge_mapper/postinst b/configuration/debian/tedge_mapper/postinst
index bb12342a..a637165f 100644
--- a/configuration/debian/tedge_mapper/postinst
+++ b/configuration/debian/tedge_mapper/postinst
@@ -4,6 +4,6 @@ set -e
### Initialize the sm mapper
-runuser -u tedge -- tedge_mapper --init c8y
-runuser -u tedge -- tedge_mapper --init az
+sudo -u tedge -- tedge_mapper --init c8y
+sudo -u tedge -- tedge_mapper --init az
#DEBHELPER#