|
|
Log in / Subscribe / Register

/sbin/hotplug multiplexor - take 2

From:  Greg KH <greg@kroah.com>
To:  linux-hotplug-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject:  [RFC] /sbin/hotplug multiplexor - take 2
Date:  Mon, 14 Apr 2003 15:46:07 -0700

Ok, based on the comments so far, how about this proposed version of
/sbin/hotplug to provide a multiplexor?

thanks,

greg k-h

----------
#!/bin/sh
DIR="/etc/hotplug.d"

for I in "${DIR}/$1/"* "${DIR}/"all/* ; do
	test -x $I && $I $1 ;
done

exit 1
----------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Copyright © 2003, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds