projects
/
u-boot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
import u-boot-1.1.4-list-2.1.0.diff
[u-boot.git]
/
board
/
linkstation
/
nc.sh
1
#! /bin/bash
2
3
[ $# = 1 ] || { echo "Usage: $0 target_ip" >&2 ; exit 1 ; }
4
TARGET_IP=$1
5
6
stty -icanon -echo intr ^T
7
#nc -u -l -p 6666 < /dev/null &
8
nc -u -p 6666 -v -v ${TARGET_IP} 6666
9
stty icanon echo intr ^C
10