From bdd06ccce40c68f3089da0254c823095565ddfa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= Date: Mon, 30 May 2011 12:47:01 +0200 Subject: [PATCH] "hook= name= runlvl= plyd=" surrounded with #ifdef DEBUG --- plymouth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plymouth.c b/plymouth.c index b8a858f..05f577a 100644 --- a/plymouth.c +++ b/plymouth.c @@ -152,8 +152,10 @@ int rc_plugin_hook(RC_HOOK hook, const char *name) const char* bootlevel = getenv("RC_BOOTLEVEL"); const char* defaultlevel = getenv("RC_DEFAULTLEVEL"); +#ifdef DEBUG einfo("hook=%d name=%s runlvl=%s plyd=%d", hook, name, runlevel, ply_ping()); +#endif /* Don't do anything if we're not booting or shutting down. */ if(!(rc_runlevel_starting() || rc_runlevel_stopping())) {