From: Oleg Broytman Date: Fri, 16 Sep 2016 19:16:48 +0000 (+0300) Subject: Add a script to connect to my n900 X-Git-Url: https://git.phdru.name/?p=IM.git;a=commitdiff_plain;h=a16fdbad62b299eebfa38a11045cc4dc9a7370c7 Add a script to connect to my n900 --- diff --git a/n900 b/n900 new file mode 100755 index 0000000..25cd65d --- /dev/null +++ b/n900 @@ -0,0 +1,11 @@ +#! /bin/sh + +if [ -z "$1" ]; then + echo "Usage $0 [usb|wifi] [command]" 1>&2 + exit 1 +fi + +transport="$1" +shift + +exec s root@n900-"$transport" "$@"