wip
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user