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

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
This commit is contained in:
Chris Titus 2024-09-18 11:57:44 -05:00 committed by GitHub
parent 59fafbbc2e
commit 28ee76b9b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,7 +71,7 @@ setup_samba() {
echo "Do you want to modify the existing Samba configuration? (yes/no): " echo "Do you want to modify the existing Samba configuration? (yes/no): "
read MODIFY_SAMBA read MODIFY_SAMBA
if [ "$MODIFY_SAMBA" = "yes" ]; then if [ "$MODIFY_SAMBA" = "yes" ]; then
$ESCALATION_TOOL nano "$SAMBA_CONFIG" "$ESCALATION_TOOL" "$EDITOR" "$SAMBA_CONFIG"
fi fi
else else
printf "%b\n" "${YELLOW}No existing Samba configuration found. Setting up a new one...${RC}" printf "%b\n" "${YELLOW}No existing Samba configuration found. Setting up a new one...${RC}"