summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@gentoo.org>2004-09-21 00:13:47 +0000
committerGreg Kroah-Hartman <gregkh@gentoo.org>2004-09-21 00:13:47 +0000
commitcca4b3d60ea7461414c91c208017eeab66063692 (patch)
tree66588ddeac6c4ba44fa92f27c01f6096032431f7 /sys-apps/hotplug/files
parentOk, so we need a 2.6.9 or later kernel for nv-pci_find_class.patch. Reported (diff)
downloadgentoo-2-cca4b3d60ea7461414c91c208017eeab66063692.tar.gz
gentoo-2-cca4b3d60ea7461414c91c208017eeab66063692.tar.bz2
gentoo-2-cca4b3d60ea7461414c91c208017eeab66063692.zip
new release, and no more init script (use coldplug for that)
Diffstat (limited to 'sys-apps/hotplug/files')
-rw-r--r--sys-apps/hotplug/files/digest-hotplug-200409201
-rw-r--r--sys-apps/hotplug/files/hotplug.rc.empty27
2 files changed, 28 insertions, 0 deletions
diff --git a/sys-apps/hotplug/files/digest-hotplug-20040920 b/sys-apps/hotplug/files/digest-hotplug-20040920
new file mode 100644
index 000000000000..cb37cae939a6
--- /dev/null
+++ b/sys-apps/hotplug/files/digest-hotplug-20040920
@@ -0,0 +1 @@
+MD5 9e6b06dfa3b91f051b55e1483adb5a68 hotplug-2004_09_20.tar.gz 44398
diff --git a/sys-apps/hotplug/files/hotplug.rc.empty b/sys-apps/hotplug/files/hotplug.rc.empty
new file mode 100644
index 000000000000..451e641a0b65
--- /dev/null
+++ b/sys-apps/hotplug/files/hotplug.rc.empty
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hotplug/files/hotplug.rc.empty,v 1.1 2004/09/21 00:13:47 gregkh Exp $
+
+#
+# nothing here anymore. Please use the coldplug package if you really want to
+# load modules for devices that are discovered by your kernel before init runs.
+#
+# However, please realize that if you have any problems, the developers
+# recommend just using the modules.autoload functionality to handle this in a
+# much simpler manner.
+#
+# Comments, flames, and fine beer should be directed at gregkh@gentoo.org
+#
+
+depend() {
+ need modules
+}
+
+start () {
+ # just verify that people build their kernel with hotplug support.
+ if [ ! -f /proc/sys/kernel/hotplug ] ; then
+ eerror "CONFIG_HOTPLUG not enabled for this kernel!"
+ return 1
+ fi
+}