From 3e18c8c9036934e87354bf5b025ae60f5922fc0d Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Thu, 18 May 2017 17:59:04 +0200 Subject: [PATCH] remove mnt (#73) --- samba/config.json | 6 ++---- samba/run.sh | 4 ---- ssh/config.json | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/samba/config.json b/samba/config.json index c7c6400..ed78dca 100644 --- a/samba/config.json +++ b/samba/config.json @@ -1,6 +1,6 @@ { "name": "Samba share", - "version": "0.5", + "version": "0.6", "slug": "samba", "description": "Expose HassIO folders with Samba", "url": "https://home-assistant.io/addons/samba/", @@ -9,7 +9,7 @@ "ports": { "445/tcp": 445 }, - "map": ["config:rw", "ssl:rw", "addons:rw", "share:rw", "mnt:rw"], + "map": ["config:rw", "ssl:rw", "addons:rw", "share:rw"], "options": { "workgroup": "WORKGROUP", "guest": true, @@ -17,7 +17,6 @@ "map_addons": true, "map_ssl": false, "map_share": true, - "map_mnt": false, "username": "", "password": "" }, @@ -28,7 +27,6 @@ "map_addons": "bool", "map_ssl": "bool", "map_share": "bool", - "map_mnt": "bool", "username": "str", "password": "str" }, diff --git a/samba/run.sh b/samba/run.sh index b37e87f..a945393 100644 --- a/samba/run.sh +++ b/samba/run.sh @@ -11,7 +11,6 @@ MAP_CONFIG=$(jq --raw-output ".map_config // empty" $CONFIG_PATH) MAP_ADDONS=$(jq --raw-output ".map_addons // empty" $CONFIG_PATH) MAP_SSL=$(jq --raw-output ".map_ssl // empty" $CONFIG_PATH) MAP_SHARE=$(jq --raw-output ".map_share // empty" $CONFIG_PATH) -MAP_MNT=$(jq --raw-output ".map_mnt // empty" $CONFIG_PATH) function write_config() { @@ -47,9 +46,6 @@ fi if [ "$MAP_SHARE" == "true" ]; then write_config "share" fi -if [ "$MAP_MNT" == "true" ]; then - write_config "mnt" -fi ## # Set authentication options diff --git a/ssh/config.json b/ssh/config.json index 74c0885..036c11d 100644 --- a/ssh/config.json +++ b/ssh/config.json @@ -9,7 +9,7 @@ "ports": { "22/tcp": 22 }, - "map": ["config:rw", "ssl:rw", "addons:rw", "share:rw", "mnt:rw"], + "map": ["config:rw", "ssl:rw", "addons:rw", "share:rw"], "options": { "authorized_keys": [null] },