This commit is contained in:
Your Name
2024-02-13 14:42:24 -06:00
parent dc1ee37053
commit 9eee0333ec
3 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
cat /data/openpilot/shell/authorized_keys >/data/params/d/GithubSshKeys
chown comma:comma /data/params/d/GithubSshKeys
chmod 600 /data/params/d/GithubSshKeys
systemctl restart ssh
# systemctl restart ssh

View File

@@ -6,9 +6,9 @@ if [ ! -f /data/openpilot/shell/bg.jpg ]; then
if [ -f /usr/comma/bg.org ]; then
sudo mount -o remount,rw /
# Copy /usr/comma/bg.org to /usr/comma/bg.jpg
sudo cp /usr/comma/bg.org /usr/comma/bg.jpg
sudo mv -f /usr/comma/bg.org /usr/comma/bg.jpg
# Remove /usr/comma/bg.org
sudo rm /usr/comma/bg.org
# sudo rm /usr/comma/bg.org
echo Reverted custom logo for comma boot sequence
sudo sync
sleep 2

View File

@@ -14,7 +14,7 @@ if [ "$(md5sum /usr/comma/bg.jpg | awk '{print $1}')" != "$(md5sum /data/openpil
# If /usr/comma/bg.org does exist
if [ -f /usr/comma/bg.org ]; then
sudo cp /data/openpilot/shell/bg.jpg /usr/comma/bg.jpg
sudo cp -f /data/openpilot/shell/bg.jpg /usr/comma/bg.jpg
fi
# If file /usr/comma/revert_logo.sh does not exist