From 098a1bdf4db134469662ab826aa04229bdd5c5e6 Mon Sep 17 00:00:00 2001 From: toulousain79 Date: Wed, 2 Oct 2019 07:31:02 +0200 Subject: [PATCH] minio #99 --- bin/MySB_CreateUser | 2 +- bin/MySB_DeleteUser | 2 +- install/Minio | 7 ------- upgrade/BulkChanges.bsh | 2 +- 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/bin/MySB_CreateUser b/bin/MySB_CreateUser index 583e3fb1..4b508f32 100644 --- a/bin/MySB_CreateUser +++ b/bin/MySB_CreateUser @@ -275,7 +275,7 @@ if [ -z "$sCheckDuplicate" ]; then fi #### Minio - # gfnMinioUsersBuckets create "${NewUser}" + gfnMinioUsersBuckets create "${NewUser}" #### script init log_daemon_msg "${CreateUser_rTorrentInit} [${UserToCreate}]" diff --git a/bin/MySB_DeleteUser b/bin/MySB_DeleteUser index 277c6cbf..33209c07 100644 --- a/bin/MySB_DeleteUser +++ b/bin/MySB_DeleteUser @@ -119,7 +119,7 @@ if [ -n "${UserToDelete}" ]; then fi #### Minio - # gfnMinioUsersBuckets delete "${UserToCreate}" + gfnMinioUsersBuckets delete "${UserToCreate}" #### remove files log_daemon_msg "${DeleteUser_RemoveFiles} [${UserToDelete}]" diff --git a/install/Minio b/install/Minio index f7021c19..474678ea 100644 --- a/install/Minio +++ b/install/Minio @@ -134,13 +134,6 @@ if gfnCheckCommand 0 /usr/local/bin/minio; then cmdMySQL 'MySB_db' "UPDATE services SET to_install='0',is_installed='1' WHERE serv_name='Minio';" -v fi -# Create users buckets -# source ${MySB_InstallDir}/inc/funcs_by_script/funcs_MySB_CreateUser -# gfnListCountUsers 'normal' -# for sUser in ${gsUsersList}; do -# gfnMinioUsersBuckets create "${sUser}" -# done - # ----------------------------------------- # shellcheck source=inc/includes_after source "$(dirname "$0")"/../inc/includes_after diff --git a/upgrade/BulkChanges.bsh b/upgrade/BulkChanges.bsh index 3131b1bb..f47d340a 100644 --- a/upgrade/BulkChanges.bsh +++ b/upgrade/BulkChanges.bsh @@ -167,7 +167,7 @@ case "${1}" in unset UserId UserPassword # Minio - # gfnMinioUsersBuckets create "${sUser}" + gfnMinioUsersBuckets create "${sUser}" done echo "################################################################################" echo