summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSimon Rettberg2020-03-09 11:40:50 +0100
committerSimon Rettberg2020-03-09 11:40:50 +0100
commit5db38e677b90824cc30f6eeed80e43edd50b913d (patch)
tree1797a6dd11fc90b2bafec8f33eb529cef403ce86 /scripts
parentExec helper: Honor environment from file (diff)
downloadtmlite-bwlp-5db38e677b90824cc30f6eeed80e43edd50b913d.tar.gz
tmlite-bwlp-5db38e677b90824cc30f6eeed80e43edd50b913d.tar.xz
tmlite-bwlp-5db38e677b90824cc30f6eeed80e43edd50b913d.zip
[scripts/mount-store] Run dir/perm init for unknown mounts too
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mount-store3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/mount-store b/scripts/mount-store
index d4311a1..3cff451 100755
--- a/scripts/mount-store
+++ b/scripts/mount-store
@@ -132,8 +132,9 @@ if [ -n "$CURRENT_TYPE" ] && ! [[ "$CURRENT_TYPE" == nfs* || "$CURRENT_TYPE" ==
if [ "$SOURCE" = "null" ]; then
echo "Internal storage requested, something of type $CURRENT_TYPE already mounted, doing nothing."
rm -f -- "$FLAG"
- enable_nfs_export
+ prepare_storage "local"
systemctl --no-block restart dnbd3-server.service
+ enable_nfs_export
exit 0
fi
echo "There's something of type $CURRENT_TYPE mounted at $DEST, but the satellite server's configuration"