From 666897dac1a0d4ce61f171b94109d0aa4fddd7f4 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 8 Feb 2008 11:45:15 -0300 Subject: [PATCH] Changed target/share/install/init to use only udev, and not hardcode any modprobe --- target/share/install/init | 33 ++++++--------------------------- 1 file changed, 6 insertions(+), 27 deletions(-) diff --git a/target/share/install/init b/target/share/install/init index 0b11ed1..ee4e695 100644 --- a/target/share/install/init +++ b/target/share/install/init @@ -1,13 +1,13 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: target/share/install/init -# Copyright (C) 2006 The OpenSDE Project +# Copyright (C) 2006 - 2008 The OpenSDE Project # Copyright (C) 2006 The T2 SDE Project -# +# # More information can be found in the files COPYING and README. -# +# # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the @@ -39,31 +39,10 @@ if [ ! -c /dev/zero ]; then fi echo "Populating /dev (u/dev) ..." +echo "" > /sys/kernel/uevent_helper udevd --daemon udevtrigger - -echo "Running hotplug++ hardware detection ..." -/sbin/hotplug++ -synth -echo "/sbin/hotplug++" > /proc/sys/kernel/hotplug - -echo "Loading additional subsystem and filesystem driver ..." -# hack to be removed -modprobe sbp2 - -# well some hardcoded help for now ... -modprobe ide-generic -modprobe ide-disk -modprobe ide-cd -modprobe sd_mod -modprobe sr_mod -modprobe sg - -# the modular filesystems ... -for x in /lib/modules/*/kernel/fs/{*/,}*.*o ; do - x=${x##*/} ; x=${x%.*o} - modprobe $x -done - +udevsettle # Only print important stuff to console # klogctl(8, NULL, 3);