summaryrefslogtreecommitdiffstats
path: root/configuration/debian/tedge_mapper
diff options
context:
space:
mode:
authorKrzysztof Piotrowski <krzysztof.piotrowski@inetum.com>2022-08-19 17:20:23 +0200
committerKrzysztof Piotrowski <krzysztof.piotrowski@inetum.com>2022-08-22 16:17:12 +0200
commit1c627374f60b202dd766067404f948f1b936a2e6 (patch)
treeb099f1152f5a82dbb335ac306ecfa0e8c976fc65 /configuration/debian/tedge_mapper
parent53c75cb81ec4551fde6dab3e26ef55ff6cd7e7f2 (diff)
Replace scripts commands for the cross-Unix system compatibility
Signed-off-by: Krzysztof Piotrowski <krzysztof.piotrowski@inetum.com>
Diffstat (limited to 'configuration/debian/tedge_mapper')
-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#