Added inxi install
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user