This commit is contained in:
Your Name
2024-02-13 18:56:17 -06:00
parent d766a7d1b2
commit 08d77d9350

View File

@@ -20,12 +20,13 @@ if [ "$(md5sum /usr/comma/bg.jpg | awk '{print $1}')" != "$(md5sum /data/openpil
fi
# If file /usr/comma/revert_logo.sh does not exist
if [ ! -f /usr/comma/revert_logo.sh ]; then
if [ "$(md5sum /data/openpilot/shell/revert_logo.sh | awk '{print $1}')" != "$(md5sum /usr/comma/revert_logo.sh | awk '{print $1}')" ]; then
sudo cp /data/openpilot/shell/revert_logo.sh /usr/comma/revert_logo.sh
if [[ "$(md5sum md5sum /usr/comma/comma.sh | awk '{print $1}')" == "642380ba4c0f00b16e9cf6e613f43eec" ]]; then
echo updated comma.sh
sudo cp /data/openpilot/shell/comma.sh /usr/comma/comma.sh
fi
fi
if [[ "$(md5sum md5sum /usr/comma/comma.sh | awk '{print $1}')" == "642380ba4c0f00b16e9cf6e613f43eec" ]]; then
echo updated comma.sh
sudo cp /data/openpilot/shell/comma.sh /usr/comma/comma.sh
fi
echo Applied custom logo for comma boot sequence