diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-03-15 12:26:13 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-03-15 12:26:13 -0500 |
commit | ae0d038ea9b267c97bcbb733ee0e443073ad0c6d (patch) | |
tree | e8225797063e5aa3ca81485d0abf2c4ae0423504 /pcr/consolekit/pam-foreground-compat.ck | |
parent | e4ac43caace3670051cce0bbf926812a27cc5fb3 (diff) | |
download | abslibre-ae0d038ea9b267c97bcbb733ee0e443073ad0c6d.tar.gz abslibre-ae0d038ea9b267c97bcbb733ee0e443073ad0c6d.tar.bz2 abslibre-ae0d038ea9b267c97bcbb733ee0e443073ad0c6d.zip |
remove ck; elogind default
Diffstat (limited to 'pcr/consolekit/pam-foreground-compat.ck')
-rw-r--r-- | pcr/consolekit/pam-foreground-compat.ck | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/pcr/consolekit/pam-foreground-compat.ck b/pcr/consolekit/pam-foreground-compat.ck deleted file mode 100644 index 90b8081e4..000000000 --- a/pcr/consolekit/pam-foreground-compat.ck +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -TAGDIR=/run/console - -[ -n "$CK_SESSION_USER_UID" ] || exit 1 - -TAGFILE="$TAGDIR/`getent passwd $CK_SESSION_USER_UID | cut -f 1 -d:`" - -if [ "$1" = "session_added" ]; then - mkdir -p "$TAGDIR" - echo "$CK_SESSION_ID" >> "$TAGFILE" -fi - -if [ "$1" = "session_removed" ] && [ -e "$TAGFILE" ]; then - sed -i "\%^$CK_SESSION_ID\$%d" "$TAGFILE" - [ -s "$TAGFILE" ] || rm -f "$TAGFILE" -fi - |