summaryrefslogtreecommitdiff
path: root/standalone/android
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-02-26 15:41:12 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-02-26 15:42:29 -0400
commitbbf7561db104d1025db04690fe7cc1133786bddc (patch)
treefe5d71167bcae94859c8bf3fb0e7825a2395a655 /standalone/android
parent231e1ca0929da6b1310d645f57b975c11bca844a (diff)
autostart assistant
Diffstat (limited to 'standalone/android')
-rwxr-xr-xstandalone/android/runshell3
1 files changed, 3 insertions, 0 deletions
diff --git a/standalone/android/runshell b/standalone/android/runshell
index 8e6c12462..5c0952721 100755
--- a/standalone/android/runshell
+++ b/standalone/android/runshell
@@ -100,6 +100,9 @@ run () {
shift 1
exec "$cmd" "$@"
else
+ if $cmd test -e "$HOME/.config/git-annex/autostart; then
+ git annex assistant --autostart || $cmd true
+ fi
/system/bin/sh
fi
}