Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2018-05-29 19:56:56 +0300
committernachoparker <nacho@ownyourbits.com>2018-05-29 20:21:30 +0300
commit3862eca0ed89fdf9010f302180f644c2c7a535cd (patch)
tree60079e18bfbc0c1b115144bd5e91d310fd5cc2b1 /update.sh
parent6d1cd5688391c1232f103618f06ad3bd10b24361 (diff)
build: fix cleanup armbian imagesv0.56.16
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index b6667ec8..1e1d906d 100755
--- a/update.sh
+++ b/update.sh
@@ -232,6 +232,12 @@ done
sed -i 's|NextCloudPlus autogenerated|NextCloudPi autogenerated|' /etc/dhcpcd.conf
sed -i 's|NextCloudPlus|NextCloudPi|' /etc/fail2ban/action.d/sendmail-whois-lines.conf
+ # make sure provisioning is enabled
+ systemctl -q is-enabled nc-provisioning || {
+ systemctl start nc-provisioning
+ systemctl enable nc-provisioning
+ }
+
} # end - only live updates
exit 0