Files
dragonpilot/scripts/oneplus_update_neos.sh
Dragonpilot Team 46a47f2580 dragonpilot v2022.09.07 for EON/C2
version: dragonpilot v2022.09.07 release for EON/C2
date: 2022-09-07T07:01:54
dp-dev(priv2) beta2 commit: 30a852791f
2022-09-07 07:01:54 +00:00

13 lines
329 B
Bash
Executable File

#!/usr/bin/bash
if [ -z "$BASEDIR" ]; then
BASEDIR="/data/openpilot"
fi
source "$BASEDIR/launch_env.sh"
echo "Installing NEOS update"
NEOS_PY="$BASEDIR/system/hardware/eon/neos.py"
MANIFEST="$BASEDIR/system/hardware/eon/oneplus.json"
$NEOS_PY --swap-if-ready $MANIFEST
$BASEDIR/system/hardware/eon/updater $NEOS_PY $MANIFEST