Skip to content

Commit

Permalink
Fix for data share in DSM 6
Browse files Browse the repository at this point in the history
  • Loading branch information
mreid-tt committed Nov 8, 2023
1 parent e2fcd7a commit 8b59e5d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spk/owncloud/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ DSM_UI_DIR = app
DSM_UI_CONFIG = src/app/config
CONF_DIR = src/conf/

include ../../mk/spksrc.common.mk

# Alternate conf dir for DSM 6
ifeq ($(call version_lt, ${TCVERSION}, 7.0),1)
CONF_DIR = src/conf_6/
endif

SERVICE_SETUP = src/service-setup.sh
STARTABLE = no

Expand Down
11 changes: 11 additions & 0 deletions spk/owncloud/src/conf_6/resource
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"data-share": {
"shares": [{
"name": "{{wizard_data_share}}",
"permission": {
"rw": ["http"]
},
"once": true
}]
}
}

0 comments on commit 8b59e5d

Please sign in to comment.