From 113a78503465eb374bb1014b75ddbbeee9238bad Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 13 Nov 2011 18:33:48 +0000 Subject: [PATCH] load networking modules in preinit for networking scripts to work SVN-Revision: 29035 --- .../base-files/lib/preinit/01_networking_modules | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 target/linux/rdc/base-files/lib/preinit/01_networking_modules diff --git a/target/linux/rdc/base-files/lib/preinit/01_networking_modules b/target/linux/rdc/base-files/lib/preinit/01_networking_modules new file mode 100644 index 0000000000..7e75335189 --- /dev/null +++ b/target/linux/rdc/base-files/lib/preinit/01_networking_modules @@ -0,0 +1,13 @@ +#!/bin/sh +# Copyright (C) 2011 OpenWrt.org + +. /lib/functions/boot.sh + +load_networking_modules() { + insmod llc + insmod stp + insmod bridge + insmod 8021q +} + +boot_hook_add preinit_main load_networking_modules -- 2.30.2