summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"