From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Love Date: Tue, 02 Mar 2004 00:10:31 +0000 Subject: automatic init.d script installation Message-Id: <1078186231.10733.36.camel@localhost> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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_id56&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