#!/bin/sh set -e ### Add include to mosquitto.conf so tedge specific conf will be loaded if ! grep -q "/etc/tedge/mosquitto-conf" "/etc/mosquitto/mosquitto.conf"; then echo "include_dir /etc/tedge/mosquitto-conf" >>/etc/mosquitto/mosquitto.conf fi # Initialize the tedge tedge --init ### Below are automatically created script parts by cargo deb (Search for cargo deb DEBHELPER) #DEBHELPER#