diff options
author | Eric Hameleers <alien@slackware.com> | 2020-10-20 18:04:58 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-10-20 18:04:58 +0200 |
commit | 028ffa7494305bc3892d702e01063e2f749cbe75 (patch) | |
tree | e1bc940e653861a2db19e93add5d384619ac3861 /make_slackware_live.sh | |
parent | 68c1a4ccba5c1796ecc9392636cff4cac6ccc309 (diff) | |
download | liveslak-028ffa7494305bc3892d702e01063e2f749cbe75.tar.gz liveslak-028ffa7494305bc3892d702e01063e2f749cbe75.tar.xz |
Fix some erroneous occurrences of LIBDIRSUFFIX
Diffstat (limited to '')
-rwxr-xr-x | make_slackware_live.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh index 7a66631..03516fa 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -1594,7 +1594,7 @@ chroot ${LIVE_ROOTDIR} /usr/sbin/useradd -c "${LIVEUIDFN}" -g users -G wheel,aud echo "${LIVEUID}:${LIVEPW}" | chroot ${LIVE_ROOTDIR} /usr/sbin/chpasswd # Configure suauth if we are not on a PAM system (where this does not work): -if [ ! -L ${LIVE_ROOTDIR}/lib${LIBDIRSUFFIX}/libpam.so.? ]; then +if [ ! -L ${LIVE_ROOTDIR}/lib${DIRSUFFIX}/libpam.so.? ]; then cat <<EOT >${LIVE_ROOTDIR}/etc/suauth root:${LIVEUID}:OWNPASS root:ALL EXCEPT GROUP wheel:DENY @@ -2329,7 +2329,7 @@ then # RT Scheduling and Locked Memory: # Implementation depends on whether PAM is installed: - if [ -L ${LIVE_ROOTDIR}/lib${LIBDIRSUFFIX}/libpam.so.? ]; then + if [ -L ${LIVE_ROOTDIR}/lib${DIRSUFFIX}/libpam.so.? ]; then # For PAM based system, allow user in 'audio' group to invoke rt capability: mkdir -p ${LIVE_ROOTDIR}/etc/security/limits.d cat <<EOT > ${LIVE_ROOTDIR}/etc/security/limits.d/rt_audio.conf |