From 9eee0333ec20b0dc92e8adffc29bb50a80798b1f Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 13 Feb 2024 14:42:24 -0600 Subject: [PATCH] wip --- shell/configure_ssh.sh | 2 +- shell/revert_logo.sh | 4 ++-- shell/set_logo.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/shell/configure_ssh.sh b/shell/configure_ssh.sh index 4d9cc0b..baf3dd5 100644 --- a/shell/configure_ssh.sh +++ b/shell/configure_ssh.sh @@ -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 diff --git a/shell/revert_logo.sh b/shell/revert_logo.sh index b933d3e..5df2e49 100644 --- a/shell/revert_logo.sh +++ b/shell/revert_logo.sh @@ -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 diff --git a/shell/set_logo.sh b/shell/set_logo.sh index c23dd0f..3b7f779 100644 --- a/shell/set_logo.sh +++ b/shell/set_logo.sh @@ -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