aboutsummaryrefslogtreecommitdiffstats
path: root/insidechroot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'insidechroot.sh')
-rw-r--r--insidechroot.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/insidechroot.sh b/insidechroot.sh
index 1bb0732..b4a743a 100644
--- a/insidechroot.sh
+++ b/insidechroot.sh
@@ -8,9 +8,9 @@ source /sources/functions.sh
printf "%b" "${CYN}SUCCESSFULLY ENTERED ${RED}CHROOT${RST}!\n"
if [[ "${CHAPTER}" -eq 7 ]]; then
- printf "%b" "${GRN}Creating directories...${RST}\n"
+ printf "%b" "${GRN}Creating directories${RST}... "
if [[ -f /sources/createdirs ]]; then
- printf "%b" "${IGRN} Directories already created.${RST}\n"
+ printf "%b" "\n ${IGRN}Directories already created${RST}\n"
else
mkdir -p /boot
mkdir -p /home
@@ -87,9 +87,9 @@ if [[ "${CHAPTER}" -eq 7 ]]; then
touch /sources/createdirs
fi
- printf "%b" "${GRN}Creating essential files and symbolic links... ${RST}\n"
+ printf "%b" "${GRN}Creating essential files and symbolic links${RST}... "
if [[ -f "/sources/essential" ]]; then
- printf "%b" " ${IGRN}Essential files and symbolic links already created.${RST}\n"
+ printf "%b" "\n ${IGRN}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}Essential files and symlinks created.${RST}"
touch /sources/essential
+ printf "%b" "${IGRN}OK${RST}\n"
fi
cd /sources || exit 1