cleanup console output
This commit is contained in:
parent
4e66c50835
commit
58ff50f779
|
@ -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"
|
||||||
_ _ ___ ____
|
_ _ ___ ____
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue