Commit 6ec6802e authored by Xiaowu Zhang's avatar Xiaowu Zhang

demo: add script to clean when demo is not stopped in a right way

parent f1e95660
#!/bin/bash
git clean -xf
for i in ${screen_patterns[@]}
do
screen -wipe $i;
done;
ip link|grep NETNS|awk '{print $2;}'|sed 's/.$//'|sed -E 's/(.*)@.*/\1/g'|xargs -I if ip link del dev if;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment