From 315dd7ca36cd0118f5dd4a98d5321c8ac642643f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 20 Sep 2017 22:54:26 +0200 Subject: Fix bridge service --- bridge/init/bridge | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bridge/init/bridge b/bridge/init/bridge index 9cae7e4..430f795 100644 --- a/bridge/init/bridge +++ b/bridge/init/bridge @@ -2,6 +2,10 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +depend() { + use logger +} + start() { # Add bridge interface if ! ip link list bridge 2>/dev/null >&2; then @@ -11,7 +15,7 @@ start() { ip link set bridge up # Set ip address if [ -z "$(ip addr show dev bridge to 192.168.30.1)" ]; then - ip addr add 192.168.30.1/24 dev vbr0 + ip addr add 192.168.30.1/24 dev bridge fi } -- cgit v1.2.3