100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
CI/CD deploy.sh scripts fix for sudo forking
Rich Turnere61816559310
diff --git a/.ci_cd/deploy.sh b/.ci_cd/deploy.shindex 98f998bb8..d93f2b2a1 100644--- a/.ci_cd/deploy.sh+++ b/.ci_cd/deploy.sh@@ -273,9 +273,7 @@ elif [ -f "temp/host_init/init.sh" ]; thenfiif [ -n "\$hostInitCmd" ]; thenecho "Running host init script: '\$hostInitCmd'"- sudo -sE- \$hostInitCmd- exit+ sudo \$hostInitCmdelseecho "No host init script"fi@@ -334,9 +332,7 @@ elif [ -f "temp/host_init/post_init.sh" ]; thenfiif [ -n "\$hostPostInitCmd" ]; thenecho "Running host post init script: '\$hostPostInitCmd'"- sudo -sE- source \$hostPostInitCmd- exit+ sudo \$hostPostInitCmdelseecho "No host post init script"fi@@ -411,9 +407,7 @@ elif [ -f "temp/host_init/init.sh" ]; thenfiif [ -n "\$hostInitCmd" ]; thenecho "Running host init script: '\$hostInitCmd'"- sudo -sE- \$hostInitCmd- exit+ sudo \$hostInitCmdelseecho "No host init script"fi@@ -472,9 +466,7 @@ elif [ -f "temp/host_init/post_init.sh" ]; thenfiif [ -n "\$hostPostInitCmd" ]; thenecho "Running host post init script: '\$hostPostInitCmd'"- sudo -sE- \$hostPostInitCmd- exit+ sudo \$hostPostInitCmdelseecho "No host post init script"fi