mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-10-26 16:14:02 +08:00
set_adb.sh: restart adbd, re-running it unbound the USB gadget (#689)
This commit is contained in:
@@ -54,7 +54,8 @@ if [ -f "$ADB_PARAM" ] && [ "$(< $ADB_PARAM)" == "1" ]; then
|
||||
echo "Enabling ADB"
|
||||
|
||||
setup
|
||||
systemctl start adbd
|
||||
# setup unbinds the gadget if it's already bound, and adbd only binds it when it starts
|
||||
systemctl restart adbd
|
||||
else
|
||||
echo "Disabling ADB"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user