Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=90ad107c9d55a20fa4fb6629f8dd924d3d95dd00

commit 90ad107c9d55a20fa4fb6629f8dd924d3d95dd00
Author: crazy <[EMAIL PROTECTED]>
Date:   Sat Dec 22 17:12:02 2007 +0100

udev-118-4-i686
* release bump
* fix for #2639
* mostly my fault as I forgot to
* to handle  modprobe and hotplug when I've made the new diff
* and vmiklos forgot to move the printk echo's from rc.hotplug :)

diff --git a/source/base/udev/FrugalBuild b/source/base/udev/FrugalBuild
index 88192a9..1546ef8 100644
--- a/source/base/udev/FrugalBuild
+++ b/source/base/udev/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=udev
pkgver=118
-pkgrel=3
+pkgrel=4
pkgdesc="A userspace implementation of devfs"
url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/";
backup=(etc/udev/{udev.conf,rules.d/50-udev-default.rules} \
diff --git a/source/base/udev/rc.udev b/source/base/udev/rc.udev
index 36afc39..82e9d35 100644
--- a/source/base/udev/rc.udev
+++ b/source/base/udev/rc.udev
@@ -70,6 +70,21 @@ if ls /lib/udev/devices/* 2>/dev/null >/dev/null;then
cp -a /lib/udev/devices/* /dev
fi

+# actually we need that here
+if [ -e /proc/cmdline ]; then
+       if grep -q quiet /proc/cmdline; then
+               echo "0" > /proc/sys/kernel/printk
+       else
+               echo "6" > /proc/sys/kernel/printk
+       fi
+else # ohh well then mute anyway
+       echo "0" > /proc/sys/kernel/printk
+fi
+
+# be sure we use /sbin/modprobe
+echo "/sbin/modprobe" > /proc/sys/kernel/modprobe
+echo > /proc/sys/kernel/hotplug
+
# check if udevd is already running
if ! [ `pidof -o %PPID /sbin/udevd` ]; then
/sbin/udevd --daemon
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to