FTP: added id and pass indication in the message

This commit is contained in:
XargonWan 2023-11-08 09:31:55 +01:00
parent 8cb7c2cd7c
commit 9028da8929

View file

@ -27,7 +27,7 @@ stop_ftp_server() {
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap \ zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap \
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \ --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
--title "RetroDECK - FTP Server" \ --title "RetroDECK - FTP Server" \
--text="FTP server started on port $port, pointing to:\n$rdhome\nPress Stop to terminate the server." --ok-label="Stop" || stop_ftp_server --text="FTP server started on port $port, pointing to:\n$rdhome\nID:\tretrodeck\nPassword:\tretrodeck\n\nPress Stop to terminate the server." --ok-label="Stop" || stop_ftp_server
# If the user clicks "Stop", call the function to stop the FTP server # If the user clicks "Stop", call the function to stop the FTP server
stop_ftp_server stop_ftp_server