All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olh@suse.de>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH] fix kernel version check in load_drivers()
Date: Sun, 08 Jun 2003 19:35:30 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-105510118300899@msgid-missing> (raw)

I think we can remove the 2.5 check and accept 2.5/2.6 now.

The other case could eventually become 2.2*|2.3*|2.4*

--- etc/hotplug-beta/hotplug.functions	2003-06-07 19:30:03.000000000 +0200
+++ etc/hotplug-beta/hotplug.functions	2003-06-08 18:47:59.000000000 +0200
@@ -85,7 +84,7 @@ load_drivers ()
     # (on 2.5.48 it does for usb; but maybe not yet for pci.)
     case "$KERNEL" in
     2.2*|2.4*)	LISTER=`type -p ${TYPE}modules` ;;
-    2.5*)	LISTER="" ;;
+    *)		LISTER="" ;;
     esac
 
     if [ "$LISTER" != "" ]; then
-- 
USB is for mice, FireWire is for men!


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

                 reply	other threads:[~2003-06-08 19:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-hotplug-105510118300899@msgid-missing \
    --to=olh@suse.de \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.