linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* automatic init.d script installation
@ 2004-03-02  0:10 Robert Love
  2004-03-02  0:22 ` Kay Sievers
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Robert Love @ 2004-03-02  0:10 UTC (permalink / raw)
  To: linux-hotplug

Looking at this TODO item:

        - install the proper init.d script based on the distro we are
        running on.

We can do this with something like:

	if [ -f /etc/redhat-release ]; then
		install redhat init script to redhat spot
	elif [ -f /etc/SuSE-release ]; then
		install LSB init script to suse spot
	elif [ -f ... ]; then
		...
	fi

Is that cool?  Such hard coding is not really my cup of tea, but it is a
Makefile and there is not much better way to do it.  We have similar
logic in the D-BUS configure script and Makefile.

If it is cool, maybe Kay can swoop in and do it for me (KIDDING, KAY!
YOU ROCK!) ;-)

	Robert Love




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click
_______________________________________________
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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2004-03-02 14:58 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-02  0:10 automatic init.d script installation Robert Love
2004-03-02  0:22 ` Kay Sievers
2004-03-02  0:23 ` Marco d'Itri
2004-03-02  0:24 ` Robert Love
2004-03-02  0:33 ` Kay Sievers
2004-03-02  0:37 ` Marco d'Itri
2004-03-02  0:38 ` Marco d'Itri
2004-03-02  0:45 ` Richard Troth
2004-03-02  0:47 ` Richard Troth
2004-03-02  0:54 ` Robert Love
2004-03-02  1:34 ` Greg KH
2004-03-02  1:35 ` Greg KH
2004-03-02 14:58 ` Richard Troth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).