1
0
Fork 0
cloudcatcher/cloudcatcher.sh

28 lines
448 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2018-01-06 19:33:37 +00:00
### Settings ###
2018-01-06 19:33:37 +00:00
own_dir="${BASH_SOURCE%/*}/";
logo_filename="logo.txt";
info_filename=$(mktemp --suffix -cloudcatcher);
2018-01-06 19:33:37 +00:00
if [ -f "${own_dir}.cloudcatcher-settings" ]; then
source "${own_dir}.cloudcatcher-settings";
fi
################
2018-01-06 19:33:37 +00:00
${own_dir}cloudcatcher-info.sh >${info_filename}
### Output ###
echo
pr -mtJ ${logo_filename} ${info_filename};
##############
### Cleanup ###
rm "${info_filename}"
###############