diff options
author | Simon Rettberg | 2020-03-09 11:40:50 +0100 |
---|---|---|
committer | Simon Rettberg | 2020-03-09 11:40:50 +0100 |
commit | 5db38e677b90824cc30f6eeed80e43edd50b913d (patch) | |
tree | 1797a6dd11fc90b2bafec8f33eb529cef403ce86 /scripts/mount-store | |
parent | Exec helper: Honor environment from file (diff) | |
download | tmlite-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/mount-store')
-rwxr-xr-x | scripts/mount-store | 3 |
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" |