From 367d99faff99b8b4143118ff42e9e1921a2d7ad0 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Tue, 30 Mar 2021 10:02:31 -0500 Subject: Use essential for essential files and symlinks. --- insidechroot.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/insidechroot.sh b/insidechroot.sh index 9bd96a0..91f75c9 100644 --- a/insidechroot.sh +++ b/insidechroot.sh @@ -88,8 +88,8 @@ if [ "${CHAPTER}" -eq 7 ]; then fi printf "%b" "${GRN}Creating essential files and symbolic links... ${RST}\n" - if [ -f "/sources/symfiles" ]; then - printf "%b" " ${GRN}Files and symbolic links already created.${RST}\n" + if [ -f "/sources/essential" ]; then + printf "%b" " ${GRN}Essential files and symbolic links already created.${RST}\n" else ln -sf /proc/self/mounts /etc/mtab echo "127.0.0.1 localhost $(hostname)" > /etc/hosts @@ -143,8 +143,8 @@ EOF chmod 664 /var/log/lastlog chmod 600 /var/log/btmp - echo -e " ${GRN}Files and symlinks created.${RST}" - touch /sources/symfiles + echo -e " ${GRN}Essential files and symlinks created.${RST}" + touch /sources/essential fi cd /sources || exit 1 -- cgit v1.2.3-54-g00ecf