diff options
author | Jonathan Bauer | 2014-07-17 15:24:29 +0200 |
---|---|---|
committer | Jonathan Bauer | 2014-07-17 15:24:29 +0200 |
commit | ae0f4f08a2f17debde9fcda10823474d6ebff8ac (patch) | |
tree | 52646083967a54ca818c1eb55ab99910611fd437 | |
parent | [pam] only check for nslcd if its in REQUIRED_BINARIES (diff) | |
download | tm-scripts-ae0f4f08a2f17debde9fcda10823474d6ebff8ac.tar.gz tm-scripts-ae0f4f08a2f17debde9fcda10823474d6ebff8ac.tar.xz tm-scripts-ae0f4f08a2f17debde9fcda10823474d6ebff8ac.zip |
[paths.inc] added a few comments
-rw-r--r-- | remote/includes/paths.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/remote/includes/paths.inc b/remote/includes/paths.inc index ca9c305b..5fd1bf6b 100644 --- a/remote/includes/paths.inc +++ b/remote/includes/paths.inc @@ -1,7 +1,11 @@ # -# TODO +# This include tries to determine system paths needed by mltk-modules +# The idea here is to have a central place to determine paths required +# by different modules instead of each module determining them on its own. # + +# Location of PAM-modules for CANDIDATE in $(strings "$(ldd "$(which login)" | grep libpam.so | head -n 1 | awk '{print $3}')" | grep /lib); do [ -f "$CANDIDATE/pam_unix.so" ] && declare -rg SYS_PAM_MODULES_PATH="$CANDIDATE" && break done |