From d6fa350994ac2c56644332fd5931a4a56d2f32d9 Mon Sep 17 00:00:00 2001 From: Florent Thoumie Date: Sun, 26 Aug 2007 13:25:23 +0100 Subject: Disconnect init.d script on FreeBSD. Don't install ConsoleKit script in init.d/rc.d/ as it is unusable on FreeBSD. Signed-off-by: Florent Thoumie --- data/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'data/Makefile.am') diff --git a/data/Makefile.am b/data/Makefile.am index aa0f52f..bdb45ab 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -7,10 +7,15 @@ seatdir = $(sysconfdir)/ConsoleKit/seats.d seat_DATA = 00-primary.seat SCRIPT_IN_FILES = ConsoleKit.in + initddir=$(sysconfdir)/rc.d/init.d + +# I guess it's Linux-only but that will do for the moment. +if ! CK_COMPILE_FREEBSD initd_SCRIPTS= \ ConsoleKit \ $(NULL) +endif ConsoleKit: ConsoleKit.in Makefile -- cgit