import u-boot-1.1.4-list-2.1.0.diff
[u-boot.git] / board / linkstation / nc.sh
diff --git a/board/linkstation/nc.sh b/board/linkstation/nc.sh
new file mode 100644 (file)
index 0000000..7d552d0
--- /dev/null
@@ -0,0 +1,10 @@
+#! /bin/bash
+
+[ $# = 1 ] || { echo "Usage: $0 target_ip" >&2 ; exit 1 ; }
+TARGET_IP=$1
+
+stty -icanon -echo intr ^T
+#nc -u -l -p 6666 < /dev/null &
+nc -u -p 6666 -v -v ${TARGET_IP} 6666
+stty icanon echo intr ^C
+