add vfconfig
[openwrt/staging/rmilecki.git] / package / network / config / vfconfig / files / vfconfig.hotplug
diff --git a/package/network/config/vfconfig/files/vfconfig.hotplug b/package/network/config/vfconfig/files/vfconfig.hotplug
new file mode 100644 (file)
index 0000000..fc2a489
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ "$ACTION" = ifup ] && [ "$INTERFACE" = loopback ]; then
+       . /lib/network/dsaconfig.sh
+       setup_switch
+fi
+