The script displays system information at user login.
🚧 At the moment only None default locale aka en_US is supportet. Other locales might work.
The script server-info.sh
only needs to be placed under /etc/profile.d/
so that it is executed every time the user logs on.
If not already installed, the dnsutils
package is needed to resolve IP to FQDN.
MotD can be customized. All that is required is to create a file with the name server-info.conf
.
The following settings are possible:
Setting | Default | Description |
---|---|---|
DATE_FORMAT | %x %X |
Date format. See date - Linux man page. |
SYSTEM_NAME | hostname |
The name of the system. If no name is specified, the hostname is displayed. |
DATE_FORMAT="%x %X"
SYSTEM_NAME="My system"
Please note the changelog to check for configuration changes before updating.
This project is licensed under the MIT - see LICENSE.md file for details.
*[IP]: Internet Protocol *[FQDN]: Fully Qualified Domain Name