projects
/
swifty.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
42f0c9cf7f64d98ff7161af4b81e7b945adaacf0
[swifty.git]
/
src
/
libswift
/
mfold
/
netcleanroot.default.sh
1
#!/bin/bash
2
# Cleans configurations made with netroot and netem scripts.
3
4
if [ ! $EMIF ] ; then
5
exit
6
fi
7
8
TC="sudo tc "
9
10
echo cleanup
11
$TC qdisc del dev $EMIF root
12
$TC qdisc del dev $EMIF ingress
13
$TC qdisc del dev ifb0 root
14
$TC qdisc del dev lo root
15
16
exit 0