umorpha-boxes/modules/umorpha-branding.sh

24 lines
832 B
Bash
Raw Normal View History

2023-10-28 20:37:09 +00:00
#!/hint/bash -euE
# Copyright (C) 2023 Umorpha Systems
# SPDX-License-Identifier: AGPL-3.0-or-later
2023-11-04 07:12:33 +00:00
post_install+=(20:umorpha-branding:post_install)
2023-10-28 20:37:09 +00:00
umorpha-branding:post_install() {
local arg_mountpoint=$1
cat >"$arg_mountpoint/etc/motd" <<'EOF'
_____________ _
| | _ _ _ __ ___ ___ _ __ _ __ | |__ __ _
|__ __| | | | || '_ ' _ \ / _ \ | '_ /| '_ \ | '_ \ / _` |
2023-11-01 01:22:18 +00:00
|'##b,_o_,d##'| | |_| || | | | | |( (_) )| | ` | (_) )| | | |( (_) |
| '#######' | \___/ |_| |_| |_| \___/ |_| | ._ / |_| |_| \__,_|
| ^' # '^ | |_|
2023-10-28 20:37:09 +00:00
| V | s y s t e m s
|_____________|
2023-11-01 01:22:18 +00:00
This system is free software: you can distribute it and/or modify it
under the terms of the licenses found in `/usr/share/licenses/`.
2023-10-28 20:37:09 +00:00
EOF
}