Tidy up motd
This commit is contained in:
@@ -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 \
|
||||||
_ _ _ _ _
|
' _ _ _ _ _
|
||||||
| | | | | | | | | |
|
| | | | | | | | | |
|
||||||
| |__| | __ _ _ __| |_ _ __ ___ __ _ _ __ | | __ _| |__
|
| |__| | __ _ _ __| |_ _ __ ___ __ _ _ __ | | __ _| |__
|
||||||
| __ |/ _` | `__| __| `_ ` _ \ / _` | `_ \ | | / _` | `_ \
|
| __ |/ _` | `__| __| `_ ` _ \ / _` | `_ \ | | / _` | `_ \
|
||||||
|
|||||||
Reference in New Issue
Block a user