Skip to main content
Topic: Another boot welcome (Read 440 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Another boot welcome

With Artix runit it happens in this file: /usr/lib/rc/functions

Code: [Select]
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 >:(  :'(

 

Re: Another boot welcome

Reply #1
For example:

Code: [Select]
$ neofetch -L > log
$ sudo mv log /etc/motd

And then modify /usr/lib/rc/functions to include:

Code: [Select]
print_welcome() {
    # see os-release(5)
    . /usr/lib/os-release

    echo " "
    cat /etc/motd
#    printhl "${PRETTY_NAME}\n"
    printhl "${C_H2}${HOME_URL}"
    printsep
}