Update install.sh
This commit is contained in:
parent
6bfb3b1e0b
commit
fa5853ff0e
1 changed files with 9 additions and 8 deletions
17
install.sh
17
install.sh
|
@ -84,14 +84,7 @@ grepmot=`grep '/etc/motd' /root/.bashrc`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Insdtall modules
|
## Insdtall modules
|
||||||
command -v figlet >/dev/null 2>&1 || { echo >&2 "Figlet is not installed."; echo "need to install figlet /y"; }
|
|
||||||
if [ -f "/usr/share/figlet" ]
|
|
||||||
then
|
|
||||||
echo -e " -->\e[31m figlet not FOUND\e[0m"
|
|
||||||
else
|
|
||||||
echo -e " -->\e[34m Copy font figlet \e[92mOK\e[0m"
|
|
||||||
cp -Rf fonts/chunky.flf /usr/share/figlet/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check if MOTDs32 is already add
|
# Check if MOTDs32 is already add
|
||||||
if [ -f "/etc/motds32/Stats32" ]
|
if [ -f "/etc/motds32/Stats32" ]
|
||||||
|
@ -149,6 +142,14 @@ stty $old2_stty_cfg
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#command -v figlet >/dev/null 2>&1 || { echo >&2 "Figlet is not installed."; echo "need to install figlet /y"; }
|
||||||
|
if [ -f "/usr/share/figlet" ]
|
||||||
|
then
|
||||||
|
echo -e " -->\e[31m figlet not FOUND\e[0m"
|
||||||
|
else
|
||||||
|
cp -Rf fonts/chunky.flf /usr/share/figlet/
|
||||||
|
echo -e " -->\e[34m Font figlet \e[92mOK\e[0m"
|
||||||
|
fi
|
||||||
|
|
||||||
# Check motd
|
# Check motd
|
||||||
if [ -f "/usr/bin/motd" ]
|
if [ -f "/usr/bin/motd" ]
|
||||||
|
|
Loading…
Reference in a new issue