diff options
author | Samuli Piippo <samuli.piippo@digia.com> | 2013-10-14 13:13:47 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@digia.com> | 2013-10-21 09:36:18 +0300 |
commit | 22caf5a9fd6cf00ff2b822c0a84f96b53f4b920f (patch) | |
tree | e23fb909f0e611aa7c04fc9b240f65a98e46ecd1 | |
parent | b58eb296819caddbcfd3c6482eeda78f556df497 (diff) |
raspberrypi: use adb over ethernetv1.0.0
For raspberry pi, we don't need to load ffs modules.
Change-Id: I80f86e71031c41a4b664ae2a20754881ed7393e0
Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
-rw-r--r-- | recipes/adbd/files/raspberrypi/adb-init | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/adbd/files/raspberrypi/adb-init b/recipes/adbd/files/raspberrypi/adb-init new file mode 100644 index 00000000..8910e0e4 --- /dev/null +++ b/recipes/adbd/files/raspberrypi/adb-init @@ -0,0 +1,21 @@ +#!/bin/sh + +DAEMON=/usr/bin/adbd + +case "$1" in +start) + start-stop-daemon --start --quiet --exec $DAEMON & + ;; +stop) + start-stop-daemon --stop --quiet --exec $DAEMON + ;; +restart) + start-stop-daemon --stop --quiet --exec $DAEMON + sleep 1 + start-stop-daemon --start --quiet --exec $DAEMON & + ;; +*) + echo "Usage: $0 {start|stop|restart}" + exit 1 +esac +exit 0 |