From 028ffa7494305bc3892d702e01063e2f749cbe75 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 20 Oct 2020 18:04:58 +0200 Subject: Fix some erroneous occurrences of LIBDIRSUFFIX --- make_slackware_live.sh | 4 ++-- 1 file 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 <${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 < ${LIVE_ROOTDIR}/etc/security/limits.d/rt_audio.conf -- cgit v1.2.3