Skip to content

Commit

Permalink
preroot.sh: Delete config symlink before update
Browse files Browse the repository at this point in the history
  • Loading branch information
christianTF committed Jan 13, 2020
1 parent a948170 commit 96ebab7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions preroot.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
if [ -e /etc/mosquitto/conf.d/mqttgateway.conf ] ; then
echo "<INFO> Removing Mosquitto config symlink from plugin before update"
unlink /etc/mosquitto/conf.d/mqttgateway.conf
echo "<INFO> The config symlink will be recreated during installation"
fi

0 comments on commit 96ebab7

Please sign in to comment.