update readme
This commit is contained in:
parent
accca5e2eb
commit
4e90f3f3ef
1 changed files with 5 additions and 18 deletions
23
README.md
23
README.md
|
@ -4,39 +4,26 @@ Screenshot
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Configuration :
|
## Dependences :
|
||||||
|
|
||||||
You have to install the rsb-release package to use it.
|
You have to install the rsb-release package to use it.
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo apt-get install lsb-release
|
sudo apt install lsb-release
|
||||||
```
|
```
|
||||||
|
|
||||||
## Install the developpment release
|
## Install
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://framagit.org/draconis/motd.git
|
git clone https://framagit.org/draconis/motd.git
|
||||||
```
|
```
|
||||||
|
|
||||||
Disable the SSH's motd
|
Execute the installation's script
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo sed -i 's/#PrintMotd yes/PrintMotd no/g' /etc/ssh/sshd_config
|
sudo sh install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Enable the new motd at start session
|
|
||||||
|
|
||||||
```
|
|
||||||
sudo echo "/usr/local/bin/coldmotd" > /etc/profile.d/coldmotd.sh
|
|
||||||
sudo chmod +x /etc/profile.d/coldmotd.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
Copy the new motd
|
|
||||||
|
|
||||||
```
|
|
||||||
sudo cp motd /usr/local/bin/
|
|
||||||
sudo chmod +x /usr/local/bin/motd
|
|
||||||
```
|
|
||||||
# FOR ZSH USERS
|
# FOR ZSH USERS
|
||||||
|
|
||||||
Just add this line "/usr/local/bin/motd" in your ~/.ZSHRC. It's recommanded to add it at the end of the file
|
Just add this line "/usr/local/bin/motd" in your ~/.ZSHRC. It's recommanded to add it at the end of the file
|
||||||
|
|
Loading…
Add table
Reference in a new issue