Add interfaces example
[snf-network] / clear-tap
index b88556a..02d5722 100755 (executable)
--- a/clear-tap
+++ b/clear-tap
@@ -6,8 +6,6 @@
 DEFAULT=/etc/default/snf-network
 NFDHCPD_STATE_DIR=/var/lib/nfdhcpd
 source $DEFAULT
-source $CONF
-source $STATE_DIR/infra
 
 function clear_routed_setup_ipv4 {
 
@@ -48,7 +46,7 @@ function clear_ebtables {
 }
 
 
-if [ $# -ne 2 ]; then
+if [ $# -ne 1 ]; then
   echo "Usage: $0 <tap>"
   exit 1
 fi