summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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
commit028ffa7494305bc3892d702e01063e2f749cbe75 (patch)
treee1bc940e653861a2db19e93add5d384619ac3861
parent68c1a4ccba5c1796ecc9392636cff4cac6ccc309 (diff)
downloadliveslak-028ffa7494305bc3892d702e01063e2f749cbe75.tar.gz
liveslak-028ffa7494305bc3892d702e01063e2f749cbe75.tar.xz
Fix some erroneous occurrences of LIBDIRSUFFIX
-rwxr-xr-xmake_slackware_live.sh4
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