Initial commit
This commit is contained in:
14
script-install-motd
Normal file
14
script-install-motd
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# Install motd scripts
|
||||
|
||||
scripts=("10-hostname-color" "20-sysinfo" "35-diskspace" "36-diskstatus" "40-services" "50-fail2ban")
|
||||
|
||||
git clone "https://github.com/yboetz/motd.git"
|
||||
|
||||
for script in ./motd/"${scripts[@]}"; do
|
||||
cp "$script" /etc/update-motd.d/
|
||||
done
|
||||
|
||||
rm -rf motd
|
||||
|
||||
exit $?
|
||||
Reference in New Issue
Block a user