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 fb2cdba commit 2f4e763
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 "s/\[Data\]/\[$NAME\]/" "$config"
fi

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

0 comments on commit 2f4e763

Please sign in to comment.