summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2007-08-26 13:25:23 +0100
committerFlorent Thoumie <flz@FreeBSD.org>2007-08-26 13:25:23 +0100
commitd6fa350994ac2c56644332fd5931a4a56d2f32d9 (patch)
tree42586ecd7c1fd226c7e4d772589ebf1ac87b3b07 /data
parenta0a4451df57693a7cd4f69befd4cf17239013161 (diff)
downloadConsoleKit2-d6fa350994ac2c56644332fd5931a4a56d2f32d9.tar.gz
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 <flz@FreeBSD.org>
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am5
1 files changed, 5 insertions, 0 deletions
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