Skip to content

Commit

Permalink
minio #99
Browse files Browse the repository at this point in the history
  • Loading branch information
toulousain79 committed Oct 2, 2019
1 parent 9b40e12 commit 098a1bd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bin/MySB_CreateUser
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ if [ -z "$sCheckDuplicate" ]; then
fi

#### Minio
# gfnMinioUsersBuckets create "${NewUser}"
gfnMinioUsersBuckets create "${NewUser}"

#### script init
log_daemon_msg "${CreateUser_rTorrentInit} [${UserToCreate}]"
Expand Down
2 changes: 1 addition & 1 deletion bin/MySB_DeleteUser
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ if [ -n "${UserToDelete}" ]; then
fi

#### Minio
# gfnMinioUsersBuckets delete "${UserToCreate}"
gfnMinioUsersBuckets delete "${UserToCreate}"

#### remove files
log_daemon_msg "${DeleteUser_RemoveFiles} [${UserToDelete}]"
Expand Down
7 changes: 0 additions & 7 deletions install/Minio
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion upgrade/BulkChanges.bsh
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ case "${1}" in
unset UserId UserPassword

# Minio
# gfnMinioUsersBuckets create "${sUser}"
gfnMinioUsersBuckets create "${sUser}"
done
echo "################################################################################"
echo
Expand Down

0 comments on commit 098a1bd

Please sign in to comment.