This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-libzt/ext/picotcp/test/vde_sock_start_user.sh

16 lines
352 B
Bash
Executable File

#!/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