aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-02 22:59:16 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-02 22:59:16 -0500
commit8f7ca43ec6c21d389e4e8769e02433e991d5ddea (patch)
tree7ee8bef8e3bdb4c12775c686a6fd3bb49070b5bd
parentae1c128bc8a0499702b104c082aa3b3db24e2b56 (diff)
parent52eb2155eac25cea05e4ec16e584a6344503bbd4 (diff)
Merge branch 'cleanup' into chapter7
-rw-r--r--chapter6/cleanup.sh2
-rw-r--r--mountvirtfs.sh4
2 files changed, 4 insertions, 2 deletions
diff --git a/chapter6/cleanup.sh b/chapter6/cleanup.sh
index 1a82633..2db4067 100644
--- a/chapter6/cleanup.sh
+++ b/chapter6/cleanup.sh
@@ -1,7 +1,7 @@
#!/bin/bash
if [ -f "${LFS}/sources/chapter6/cleanup" ]; then
- printf "%b" " ${IGRN}Cleanup already performed${RST}"
+ printf "%b" " ${IGRN}Cleanup already performed${RST}\n"
else
printf "%b" "${GRN}Cleaning up ${YLW}${LFS}${RST}... "
diff --git a/mountvirtfs.sh b/mountvirtfs.sh
index 4c016e5..ec0262f 100644
--- a/mountvirtfs.sh
+++ b/mountvirtfs.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-printf "%b" "${GRN}Mounting virtual kernel filesystems...${RST}\n"
+printf "%b" "${GRN}Mounting virtual kernel filesystems${RST}... "
if ! mountpoint "${LFS}"/dev >/dev/null 2>&1; then
sudo mount --bind /dev "${LFS}"/dev
else
@@ -30,3 +30,5 @@ fi
if [[ -h "${LFS}"/dev/shm ]]; then
sudo mkdir -pv "${LFS}"/"$(readlink "${LFS}"/dev/shm)"
fi
+
+printf "%b" "${IGRN}OK${RST}\n"