Update tabs/system-setup/5-samba-ssh-setup.sh

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
This commit is contained in:
Guru Swarupa 2024-09-18 22:05:56 +05:30 committed by GitHub
parent d30ba11885
commit 59fafbbc2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,7 +78,7 @@ setup_samba() {
# Prompt user for shared directory path # Prompt user for shared directory path
echo "Enter the path for the Samba share (default: /srv/samba/share): " echo "Enter the path for the Samba share (default: /srv/samba/share): "
read SHARED_DIR read -r SHARED_DIR
SHARED_DIR=${SHARED_DIR:-/srv/samba/share} SHARED_DIR=${SHARED_DIR:-/srv/samba/share}
# Create the shared directory if it doesn't exist # Create the shared directory if it doesn't exist