With Artix
runit it happens in this file: /usr/lib/rc/functions
print_welcome() {
# see os-release(5)
. /usr/lib/os-release
echo " "
printhl "${PRETTY_NAME}\n"
printhl "${C_H2}${HOME_URL}"
printsep
}
Whereas in
systemd it's hardcoded (https://github.com/systemd/systemd/blob/main/src/core/main.c#L1332) >:( :'(
For example:
$ neofetch -L > log
$ sudo mv log /etc/motd
And then modify /usr/lib/rc/functions to include:
print_welcome() {
# see os-release(5)
. /usr/lib/os-release
echo " "
cat /etc/motd
# printhl "${PRETTY_NAME}\n"
printhl "${C_H2}${HOME_URL}"
printsep
}