Merge pull request #8 from outis1one/claude/review-repo-docs-QFDqX
Add instructions for additional Samba shares after setup
This commit is contained in:
@@ -634,6 +634,35 @@ SAMBA_CONFIG
|
||||
echo " Share name: Primary"
|
||||
echo " Path: $ACTUAL_HOME/drives/primary"
|
||||
echo " Access: \\\\$(hostname)\\Primary (Windows) or smb://$(hostname)/Primary (Mac/Linux)"
|
||||
echo ""
|
||||
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
echo "ADDING MORE SAMBA SHARES"
|
||||
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
echo ""
|
||||
echo "To add another share, edit the Samba config file:"
|
||||
echo ""
|
||||
echo " sudo nano /etc/samba/smb.conf"
|
||||
echo ""
|
||||
echo "Add a new section at the end:"
|
||||
echo ""
|
||||
echo " [ShareName]"
|
||||
echo " comment = Description of share"
|
||||
echo " path = /path/to/folder"
|
||||
echo " browseable = yes"
|
||||
echo " read only = no"
|
||||
echo " writable = yes"
|
||||
echo " valid users = $ACTUAL_USER"
|
||||
echo " create mask = 0775"
|
||||
echo " directory mask = 0775"
|
||||
echo ""
|
||||
echo "Save (Ctrl+O, Enter) and exit (Ctrl+X), then restart Samba:"
|
||||
echo ""
|
||||
echo " sudo systemctl restart smbd nmbd"
|
||||
echo ""
|
||||
echo "Verify the share is active:"
|
||||
echo ""
|
||||
echo " testparm -s"
|
||||
echo ""
|
||||
else
|
||||
echo "✗ Samba installation failed, skipping configuration"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user