automate/020_neofetch_motd.sh

15 lines
224 B
Bash
Executable File

#!/usr/bin/env bash
#!/bin/bash
apt install -y neofetch
mkdir -p /etc/update-motd.d
cat > /etc/update-motd.d/20neofetch <<EOF
#! /bin/sh
neofetch
EOF
chmod a+x /etc/update-motd.d/20neofetch
run-parts /etc/update-motd.d/