]> git.phdru.name Git - IM.git/commitdiff
Add a script to connect to my n900
authorOleg Broytman <phd@phdru.name>
Fri, 16 Sep 2016 19:16:48 +0000 (22:16 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 16 Sep 2016 19:16:48 +0000 (22:16 +0300)
n900 [new file with mode: 0755]

diff --git a/n900 b/n900
new file mode 100755 (executable)
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" "$@"