umorpha-boxes/modules/umorpha-branding.sh

24 lines
832 B
Bash

#!/hint/bash -euE
# Copyright (C) 2023 Umorpha Systems
# SPDX-License-Identifier: AGPL-3.0-or-later
post_install+=(20: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
|_____________|
This system is free software: you can distribute it and/or modify it
under the terms of the licenses found in `/usr/share/licenses/`.
EOF
}