ramips: Added preinit scriptlet to set vars based on cpuinfo during preinit_main...
authorDaniel Dickinson <crazycshore@gmail.com>
Sun, 30 May 2010 03:21:00 +0000 (03:21 +0000)
committerDaniel Dickinson <crazycshore@gmail.com>
Sun, 30 May 2010 03:21:00 +0000 (03:21 +0000)
SVN-Revision: 21635

target/linux/ramips/base-files/lib/preinit/03_preinit_do_ramips.sh [new file with mode: 0644]

diff --git a/target/linux/ramips/base-files/lib/preinit/03_preinit_do_ramips.sh b/target/linux/ramips/base-files/lib/preinit/03_preinit_do_ramips.sh
new file mode 100644 (file)
index 0000000..e76418d
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+do_ramips() {
+       . /lib/ramips.sh
+}
+
+boot_hook_add preinit_main do_ramips