From 33a3fbadd21447b1b6ada50a975e35856e89ea46 Mon Sep 17 00:00:00 2001 From: Phil Date: Fri, 10 Jun 2022 21:28:50 +0100 Subject: [PATCH] Added inxi install --- setup.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index 45a35b4..e810953 100755 --- a/setup.sh +++ b/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 < /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"