Added inxi install

This commit is contained in:
Phil 2022-06-10 21:28:50 +01:00
parent 2b878d0811
commit 33a3fbadd2

View File

@ -1,6 +1,7 @@
#!/bin/bash
sudo mkdir /etc/update-motd.d/old
sudo mv /etc/update-motd.d/* /etc/update-motd.d/old/
bash -c "sudo apt install inxi"
bash -c "sudo mkdir /etc/update-motd.d/old"
bash -c "sudo mv /etc/update-motd.d/* /etc/update-motd.d/old/"
bash -c "sudo cat <<EOF > /etc/update-motd.d/00-custom
#!/bin/sh
echo
@ -33,4 +34,4 @@ if [ -x /usr/lib/update-notifier/update-motd-reboot-required ]; then
exec /usr/lib/update-notifier/update-motd-reboot-required
fi
EOF"
sudo chmod +x /etc/update-motd.d/00-custom
bash -c "sudo chmod +x /etc/update-motd.d/00-custom"