From: Ray Strode Date: Sun, 22 Jun 2008 04:48:47 +0000 (-0400) Subject: hide /var/log behind a define X-Git-Tag: 0.4.0~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47fc6b6e39f37472f05868fbfe79758e949e8030;p=thirdparty%2Fplymouth.git hide /var/log behind a define --- diff --git a/src/Makefile.am b/src/Makefile.am index 8a0ffbfc..8b6ca5b5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,6 +3,7 @@ INCLUDES = -I$(top_srcdir) \ -I$(srcdir)/libply \ -I$(srcdir)/libplybootsplash \ -I$(srcdir) \ + -DPLYMOUTH_LOG_DIRECTORY=\"$(localstatedir)/log\" \ -DPLYMOUTH_LOGO_FILE=\"$(logofile)\" plymouthdbindir = $(libexecdir)/plymouth diff --git a/src/main.c b/src/main.c index b5341293..f554ce05 100644 --- a/src/main.c +++ b/src/main.c @@ -120,7 +120,7 @@ on_system_initialized (state_t *state) { ply_trace ("system now initialized, opening boot.log"); ply_terminal_session_open_log (state->session, - "/var/log/boot.log"); + PLYMOUTH_LOG_DIRECTORY "/boot.log"); } static void