From 49ec5d9e16c7ecf0192be5039b7ddebd5481690d Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 22 Nov 2023 11:20:55 +0100 Subject: [PATCH] Update 91-qbittorrent_configuration.sh --- .../etc/cont-init.d/91-qbittorrent_configuration.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh b/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh index a13bb2eef..c40b05657 100755 --- a/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh @@ -139,9 +139,9 @@ else if ! grep -q Username qBittorrent.conf; then sed -i "$LINE i\WebUI\\\Username=admin" qBittorrent.conf fi - if ! grep -q Password_PBKDF2 qBittorrent.conf; then - sed -i "$LINE i\WebUI\\Password_PBKDF2=\"@ByteArray(cps93Gf8ma8EM3QRon+spg==:wYFoMNVmdiqzWYQ6mFrvET+RRbBSIPVfXFFeEy0ZEagxvNuEF7uGVnG5iq8oeu38kGLtmJqCM2w8cTdtORDP2A==)\"" qBittorrent.conf - fi +fi +if ! grep -q Password_PBKDF2 qBittorrent.conf; then + sed -i "$LINE i\WebUI\\Password_PBKDF2=\"@ByteArray(cps93Gf8ma8EM3QRon+spg==:wYFoMNVmdiqzWYQ6mFrvET+RRbBSIPVfXFFeEy0ZEagxvNuEF7uGVnG5iq8oeu38kGLtmJqCM2w8cTdtORDP2A==)\"" qBittorrent.conf fi ################ @@ -203,5 +203,5 @@ fi # CLOSE # ########## -bashio::log.info "Default username/password : admin/homeassistant" +bashio::log.info "Default username/password : $USERNAME/homeassistant" bashio::log.info "Configuration can be found in $CONFIG_LOCATION"