Update setup-nasbeery
This commit is contained in:
parent
47b56bf09a
commit
f9f7e8beae
@ -26,6 +26,7 @@ FORMAT=0
|
||||
ADDONS=
|
||||
ZPOOL=tank
|
||||
SHARE=share
|
||||
BASE_REPO=https://github.com/thorstenspille/nasbeery
|
||||
|
||||
while getopts "hU:P:H:D:FIZ:S:" opt; do
|
||||
case $opt in
|
||||
@ -270,6 +271,12 @@ cat << EOF | sudo tee -i /etc/samba/smb.conf
|
||||
directory mask = 0770
|
||||
EOF
|
||||
|
||||
#### PLUGIN INSTALLATION ####
|
||||
for addon in $ADDONS; do
|
||||
wget -O ./$addon $base_repo/raw/main/plugins/$addon
|
||||
bash ./$addon -Z $ZPOOL
|
||||
done
|
||||
|
||||
echo "Restart samba services"
|
||||
sudo systemctl enable smbd nmbd wsdd
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user