From f3ceddf4ea8cf27cd7bb89be682d10c9ffa94513 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Mon, 7 Jun 2021 07:29:52 -0400 Subject: [PATCH] added motd edit removing .sh --- update | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/update b/update index 11225b24..5d5bbf65 100755 --- a/update +++ b/update @@ -10,6 +10,9 @@ if [ "$1" = "u" ]; then fi +sudo sed -i 's/CubeSatSim/config.sh/CubeSatSim/config/g' /etc/motd + + cd /home/pi/CubeSatSim git pull > .updated @@ -68,6 +71,8 @@ fi if [ ! -d "/home/pi/PiSSTVpp" ]; then + sudo apt-get update && sudo apt-get dist-upgrade -y + sudo apt-get install -y python-picamera python3-picamera build-essential libgd-dev libmagic-dev