Skip to content

This repository is a mirror of the GitLab repository.

License

Notifications You must be signed in to change notification settings

bloodhunterd/Server-Info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release License

Server Info

The script displays system information at user login.

🚧 At the moment only None default locale aka en_US is supportet. Other locales might work.

Deployment

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.

Requirements

If not already installed, the dnsutils package is needed to resolve IP to FQDN.

Configuration

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.

Example

DATE_FORMAT="%x %X"
SYSTEM_NAME="My system"

Update

Please note the changelog to check for configuration changes before updating.

Authors

License

This project is licensed under the MIT - see LICENSE.md file for details.

Funding

ko-fi

*[IP]: Internet Protocol *[FQDN]: Fully Qualified Domain Name