projects
/
openwrt
/
staging
/
rmilecki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
package/network/config/vfconfig/files/vfconfig.hotplug
@@ -0,0
+1,7
@@
+#!/bin/sh
+
+if [ "$ACTION" = ifup ] && [ "$INTERFACE" = loopback ]; then
+ . /lib/network/dsaconfig.sh
+ setup_switch
+fi
+