From 2bc21806aeb0ed2b3cae0cf2007a4a8b2b643f30 Mon Sep 17 00:00:00 2001 From: James Norman Date: Thu, 17 Dec 2015 11:17:34 +0000 Subject: [PATCH] Updates docs --- README.md | 1 + samba.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index a356aeb..56f7c00 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ OR set local storage: [readonly] default:'yes' or 'no' [guest] allowed default:'yes' or 'no' [users] allowed default:'all' or list of allowed users + [admins] allowed default:'none' or list of admin users -t "" Configure timezone possible arg: "[timezone]" - zoneinfo timezone for container -u "" Add a user diff --git a/samba.sh b/samba.sh index 8821faa..2188c4b 100755 --- a/samba.sh +++ b/samba.sh @@ -37,6 +37,7 @@ import() { local name id file="${1}" # readonly) 'yes' or 'no' # guest) 'yes' or 'no' # users) list of allowed users +# admins) list of admin users # Return: result share() { local share="$1" path="$2" browse=${3:-yes} ro=${4:-yes}\ guest=${5:-yes} users=${6:-""} admins=${7:-"none"} file=/etc/samba/smb.conf