diff --git a/ubuntu-post-install.sh b/ubuntu-post-install.sh index ad5845b..754b667 100644 --- a/ubuntu-post-install.sh +++ b/ubuntu-post-install.sh @@ -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