summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSimon Rettberg2024-03-28 15:29:30 +0100
committerSimon Rettberg2024-03-28 15:29:30 +0100
commitf9e45c0a7cb76a342d579ec91323c068ebcd9dbc (patch)
tree18964541030e542fa68ce0ca17e71370667f3cd9 /core
parent[lightdm-greeter-bwlp] Add generic blacklist for browser-login (diff)
downloadmltk-f9e45c0a7cb76a342d579ec91323c068ebcd9dbc.tar.gz
mltk-f9e45c0a7cb76a342d579ec91323c068ebcd9dbc.tar.xz
mltk-f9e45c0a7cb76a342d579ec91323c068ebcd9dbc.zip
[pam-bwidm] Honor base greeter config
Diffstat (limited to 'core')
-rwxr-xr-xcore/modules/pam-bwidm/data/opt/openslx/scripts/pam_bwidm4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/modules/pam-bwidm/data/opt/openslx/scripts/pam_bwidm b/core/modules/pam-bwidm/data/opt/openslx/scripts/pam_bwidm
index 41ac2636..0d3ccc1e 100755
--- a/core/modules/pam-bwidm/data/opt/openslx/scripts/pam_bwidm
+++ b/core/modules/pam-bwidm/data/opt/openslx/scripts/pam_bwidm
@@ -39,7 +39,9 @@ readonly TMPDIR
readonly LOGFILE="$(mktemp -p "$TMPDIR")"
# Determine mode: ECP or Embedded Browser
-IDP_QUERY_URL="$( awk -F= '$1 ~ /^shib-url\s*$/ {print $2}' /etc/lightdm/qt-lightdm-greeter.conf.d/*.conf \
+IDP_QUERY_URL="$( awk -F= '$1 ~ /^shib-url\s*$/ {print $2}' \
+ /etc/lightdm/qt-lightdm-greeter.conf \
+ /etc/lightdm/qt-lightdm-greeter.conf.d/*.conf \
| tail -n 1 | xargs )" # TRIM
if [ -n "$IDP_QUERY_URL" ]; then