Tidy up motd

This commit is contained in:
2024-07-17 22:21:50 -04:00
parent 27696ee36c
commit 7d23e55581

View File

@@ -13,11 +13,12 @@ main() {
is_root is_root
cp "$0" /usr/local/bin/
script="/usr/local/bin/${0##*/}" script="/usr/local/bin/${0##*/}"
service="/usr/lib/systemd/system/motd.service" service="/usr/lib/systemd/system/motd.service"
timer="/usr/lib/systemd/system/motd.timer" timer="/usr/lib/systemd/system/motd.timer"
[[ -f $script ]] || cp "$0" /usr/local/bin/
install_services install_services
fi fi
} }
@@ -31,8 +32,8 @@ print_motd() {
undim='\e[0m' undim='\e[0m'
# shellcheck disable=SC2016 # shellcheck disable=SC2016
echo -e ' echo -e \
_ _ _ _ _ ' _ _ _ _ _
| | | | | | | | | | | | | | | | | | | |
| |__| | __ _ _ __| |_ _ __ ___ __ _ _ __ | | __ _| |__ | |__| | __ _ _ __| |_ _ __ ___ __ _ _ __ | | __ _| |__
| __ |/ _` | `__| __| `_ ` _ \ / _` | `_ \ | | / _` | `_ \ | __ |/ _` | `__| __| `_ ` _ \ / _` | `_ \ | | / _` | `_ \