forked from public/airgap
1
0
Fork 0

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
source /etc/environment
dmesg -n1
clear
cat << "EOF"
_ _ ___ ____

View File

@ -5,8 +5,9 @@ source /etc/profile
folder=${1?}
if [ -f "${folder}/autorun.sh.asc" ]; then
echo "" >/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" \
>/dev/console;
exit 1;