diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-09-03 23:55:50 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-09-03 23:55:50 +0300 |
commit | 87b150973c87570a855cd76aea17c3da56754b13 (patch) | |
tree | 00d234bd637cbe80f89180de839821e4d00fbc04 | |
parent | 0b28b96a3aa7642f6992becbc5270b86127f6d78 (diff) |
nc-automount: small fixv0.26.4
-rw-r--r-- | etc/nextcloudpi-config.d/nc-automount.sh | 2 | ||||
-rwxr-xr-x | update.sh | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/etc/nextcloudpi-config.d/nc-automount.sh b/etc/nextcloudpi-config.d/nc-automount.sh index 144e06f9..03395f5a 100644 --- a/etc/nextcloudpi-config.d/nc-automount.sh +++ b/etc/nextcloudpi-config.d/nc-automount.sh @@ -105,6 +105,8 @@ EOF # adjust when mariaDB starts local DBUNIT=/lib/systemd/system/mariadb.service grep -q sleep $DBUNIT || sed -i "/^ExecStart=/iExecStartPre=/bin/sleep 10" $DBUNIT + + systemctl daemon-reload } configure() @@ -106,6 +106,7 @@ EOF # automount remove old fstab lines sed -i '/\/dev\/USBdrive/d' /etc/fstab rm -f /etc/udev/rules.d/50-automount.rules /usr/local/etc/blknum + udevadm control --reload-rules # restart PHP sleep 3 |