From dfdef8907418b98bceb43e78f64845f7c8d8234d Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 10 Jul 2010 20:07:59 +0200 Subject: [PATCH] network: Initialize bonding at start. --- functions.bonding | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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})." -- 2.39.2