Files
dragonpilot/scripts/disable_relay.sh
Rick Lan e323b8ef0e dragonpilot 0.7.6.1
========================
* Based on latest openpilot 0.7.6.1 devel.
* Optimized and integrated several dp services. (Settings have been renamed, please re-config all settings)
* Completely disabled steer ratio learner.
* Removed Accel Profile.
* Added Honda Breeze Hybrid FPv1. (Thanks to @劉駿)
* Added Taiwan Toyota Prius 4.5 FPv1. (Thanks to @jeekid)
2020-07-06 20:58:16 +10:00

10 lines
224 B
Bash
Executable File

#!/usr/bin/bash
if [ $1 -eq 1 ]; then
printf %s "1" > /data/params/d/dp_disable_relay
fi
if [ $1 -eq 0 ]; then
printf %s "0" > /data/params/d/dp_disable_relay
fi
rm -rf /data/openpilot/selfdrive/boardd/boardd && reboot