cleanup console output

This commit is contained in:
Lance Vick 2020-08-12 22:26:07 -07:00
parent 4e66c50835
commit 58ff50f779
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,7 @@ export PS1="[\h \t] \\$ "
export GNUPGHOME=/.gnupg export GNUPGHOME=/.gnupg
source /etc/environment source /etc/environment
dmesg -n1
clear clear
cat << "EOF" cat << "EOF"
_ _ ___ ____ _ _ ___ ____

View File

@ -5,8 +5,9 @@ source /etc/profile
folder=${1?} folder=${1?}
if [ -f "${folder}/autorun.sh.asc" ]; then if [ -f "${folder}/autorun.sh.asc" ]; then
echo "" >/dev/console
echo "++ Autorun: Found ${folder}/autorun.sh" >/dev/console; echo "++ Autorun: Found ${folder}/autorun.sh" >/dev/console;
gpg --verify "${folder}/autorun.sh.asc" || { gpg --verify "${folder}/autorun.sh.asc" >/dev/null 2>&1 || {
echo "!! Autorun: Verification Failed for ${folder}/autorun.sh" \ echo "!! Autorun: Verification Failed for ${folder}/autorun.sh" \
>/dev/console; >/dev/console;
exit 1; exit 1;