Remove debug

This commit is contained in:
2024-06-30 14:50:24 -04:00
parent 8b15388467
commit cf7245833a

View File

@@ -55,10 +55,11 @@ if [[ "$restore" == "yes" ]]; then
fi
fi
echo "Command: ${useradd_cmd[*]}"
# echo "Running: ${useradd_cmd[*]}"
"${useradd_cmd[@]}"
echo "$username":"$password" | chpasswd
if [[ "$samba" == "yes" ]]; then
(echo "$password"; echo "$password") | smbpasswd -a -s "$username"
fi