linux-motd/install.sh

11 lines
No EOL
493 B
Bash

#!/bin/bash
gitrepo="https://git.waggeling.net/kai-waggeling/linux-motd"
apt install figlet
rm /etc/update-motd.d/10-uname
wget ${gitrepo}/raw/branch/main/%20update-motd.d/10-hostname -O /etc/update-motd.d/10-hostname
wget ${gitrepo}/raw/branch/main/%20update-motd.d/20-sysinfo -O /etc/update-motd.d/20-sysinfo
wget ${gitrepo}/raw/branch/main/%20update-motd.d/30-disks -O /etc/update-motd.d/30-disks
wget ${gitrepo}/raw/branch/main/%20update-motd.d/40-docker -O /etc/update-motd.d/40-docker