Skip to content

Commit 5eed682

Browse files
committed
Fix adbd restart
1 parent cc487e1 commit 5eed682

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/radxa-otgutils

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ stop()
106106
case "$MODE" in
107107
adbd)
108108
start-stop-daemon --stop --oknodo --pidfile /var/run/adbd.pid --retry 5
109+
umount /dev/usb-ffs/adb
110+
rmdir /dev/usb-ffs/adb
111+
rmdir /dev/usb-ffs
109112
;;
110113
esac
111114
}

0 commit comments

Comments
 (0)