]> rtime.felk.cvut.cz Git - can-eth-gw.git/blob - test/myroot/etc/init.d/rcS
Add boot scripts etc.
[can-eth-gw.git] / test / myroot / etc / init.d / rcS
1 #!/bin/sh
2 set +x
3 mount -t proc none /proc
4 # can
5 ifconfig lo up
6 ip link add dev vcan0 type vcan
7 ifconfig vcan0 up
8 insmod /bin/canethgw.ko
9 cegw --listen udp@127.0.0.1:10501
10 cegw --add -s can@vcan0 -d udp@127.0.0.1:10502
11
12 cegwbench -s can@vcan0 -d udp@127.0.0.1:10502 -n 10 -m oneattime
13