mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-11-24 19:16:15 +02:00
10 lines
200 B
Plaintext
10 lines
200 B
Plaintext
|
#!/bin/sh
|
||
|
ITF=usb0
|
||
|
if [ "$1" = -i ]; then
|
||
|
ITF=$2
|
||
|
shift 2
|
||
|
fi
|
||
|
# ben is 192.168.1.202
|
||
|
echo 1 >/proc/sys/net/ipv4/ip_forward
|
||
|
ifconfig ${ITF_JLIME:-$ITF} 192.168.1.200 up && ssh 192.168.1.202 "$@"
|