forked from mawei/dp
1
0
Fork 0
dp/scripts/oneplus_update_neos.sh

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