diff options
author | Karel Kočí <cynerd@email.cz> | 2017-09-20 22:54:26 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-09-20 22:54:26 +0200 |
commit | 315dd7ca36cd0118f5dd4a98d5321c8ac642643f (patch) | |
tree | 76adc628caf78536088de6e3370af5d38a85df7d /bridge | |
parent | 0a4fccef3c0d934cc820e2720c46297414f057f8 (diff) | |
download | multiconfig-0.1.1.tar.gz multiconfig-0.1.1.tar.bz2 multiconfig-0.1.1.zip |
Fix bridge servicev0.1.1
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/init/bridge | 6 |
1 files changed, 5 insertions, 1 deletions
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 } |