From 5db38e677b90824cc30f6eeed80e43edd50b913d Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 9 Mar 2020 11:40:50 +0100 Subject: [scripts/mount-store] Run dir/perm init for unknown mounts too --- scripts/mount-store | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3-55-g7522