cleanup console output
This commit is contained in:
parent
4e66c50835
commit
58ff50f779
|
@ -4,6 +4,7 @@ export PS1="[\h \t] \\$ "
|
|||
export GNUPGHOME=/.gnupg
|
||||
source /etc/environment
|
||||
|
||||
dmesg -n1
|
||||
clear
|
||||
cat << "EOF"
|
||||
_ _ ___ ____
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue