Added inxi install
This commit is contained in:
parent
2b878d0811
commit
33a3fbadd2
7
setup.sh
7
setup.sh
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user