umorpha-boxes/modules/umorpha-branding.sh

21 lines
697 B
Bash

#!/hint/bash -euE
# Copyright (C) 2023 Umorpha Systems
# SPDX-License-Identifier: AGPL-3.0-or-later
post_install+=(10:umorpha-branding:post_install)
umorpha-branding:post_install() {
local arg_mountpoint=$1
cat >"$arg_mountpoint/etc/motd" <<'EOF'
_____________ _
| | _ _ _ __ ___ ___ _ __ _ __ | |__ __ _
|__ __| | | | || '_ ' _ \ / _ \ | '_ /| '_ \ | '_ \ / _` |
|`##b,_o_,d##'| | |_| || | | | | |( (_) )| | ` | (_) )| | | |( (_) |
| '#######` | \___/ |_| |_| |_| \___/ |_| | ._ / |_| |_| \__,_|
| ^' # `^ | |_|
| V | s y s t e m s
|_____________|
EOF
}