1 |
diff -Nur smeserver-nextcloud-1.1.0.old/root/etc/e-smith/events/actions/nextcloud-occ-conf smeserver-nextcloud-1.1.0/root/etc/e-smith/events/actions/nextcloud-occ-conf |
2 |
--- smeserver-nextcloud-1.1.0.old/root/etc/e-smith/events/actions/nextcloud-occ-conf 2018-04-07 01:12:02.988000000 -0400 |
3 |
+++ smeserver-nextcloud-1.1.0/root/etc/e-smith/events/actions/nextcloud-occ-conf 2018-04-07 01:14:32.969000000 -0400 |
4 |
@@ -156,7 +156,7 @@ |
5 |
if (scalar(@matching_keys) == 0) { |
6 |
#if none create |
7 |
if ($storage eq "smb") { |
8 |
- $id = OCCr "files_external:create -c share=$key -c host=localhost '$key' smb password::sessioncredentials --output json"; |
9 |
+ $id = OCCr "files_external:create -c share=$key -c host=localhost 'ibays/$key' smb password::sessioncredentials --output json"; |
10 |
} else { |
11 |
$id = OCCr "files_external:create -c datadir=/home/e-smith/files/ibays/$key 'ibays/$key' local null::null --output json"; |
12 |
} |