summaryrefslogtreecommitdiff
path: root/package/base-files/extra/etc/network/if-up.d/01-bridge
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/extra/etc/network/if-up.d/01-bridge')
-rw-r--r--package/base-files/extra/etc/network/if-up.d/01-bridge3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/base-files/extra/etc/network/if-up.d/01-bridge b/package/base-files/extra/etc/network/if-up.d/01-bridge
new file mode 100644
index 000000000..786efe0f8
--- /dev/null
+++ b/package/base-files/extra/etc/network/if-up.d/01-bridge
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+[ "${IFACE%%[0-9]*}" = "br" ] && ip link set up dev $IFACE