From: Michael Tremer Date: Sat, 10 Jul 2010 18:07:59 +0000 (+0200) Subject: network: Initialize bonding at start. X-Git-Tag: 001~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfdef8907418b98bceb43e78f64845f7c8d8234d;p=network.git network: Initialize bonding at start. --- diff --git a/functions.bonding b/functions.bonding index a6328926..74a4d09d 100644 --- a/functions.bonding +++ b/functions.bonding @@ -27,13 +27,12 @@ function bonding_init() { fi } +init_register bonding_init + function bonding_create() { local device=${1} local mac=${2} - # Make sure the bonding is initialized - bonding_init - [ -z "${mac}" ] && mac=$(mac_generate) log INFO "Creating bonding device '${device}' (${mac})."