Skip to content

Commit

Permalink
feat: Configure share name
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Oct 26, 2024
1 parent 2f4e763 commit 785b921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samba.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ else

# Set custom display name if provided
if [ -n "$NAME" ] && [[ "${NAME,,}" != "data" ]]; then
sed "s/\[Data\]/\[$NAME\]/" "$config"
sed -i "s/\[Data\]/\[$NAME\]/" "$config"
fi

# Update force user and force group in smb.conf
Expand Down

0 comments on commit 785b921

Please sign in to comment.