Porting PicoTCP WIP
This commit is contained in:
15
kernel/picotcp/test/vde_sock_start_user.sh
Executable file
15
kernel/picotcp/test/vde_sock_start_user.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
function help(){
|
||||
echo 'Cmd line arguments can be:'
|
||||
echo 'start: to start the vde setup for the autotest.'
|
||||
echo 'stop: to cleanup the vde setup for the autotest.'
|
||||
exit
|
||||
}
|
||||
|
||||
function start_vde(){
|
||||
vde_switch -s /tmp/pic0.ctl -m 777 -M /tmp/pico.mgmt -d -hub
|
||||
vde_switch -s /tmp/pic1.ctl -m 777 -M /tmp/pici.mgmt -d -hub
|
||||
}
|
||||
|
||||
start_vde
|
||||
|
||||
Reference in New Issue
Block a user