[Initng-svn] r1937 - initng/plugins/last
svn at initng.thinktux.net
svn at initng.thinktux.net
Sat Nov 5 17:53:37 CET 2005
Author: SaTaN0r1
Date: Sat Nov 5 17:53:36 2005
New Revision: 1937
Modified:
initng/plugins/last/initng_last.c
Log:
the last plugin will now ignore services with type TYPE_RUNLEVEL which are not started
Modified: initng/plugins/last/initng_last.c
==============================================================================
--- initng/plugins/last/initng_last.c (original)
+++ initng/plugins/last/initng_last.c Sat Nov 5 17:53:36 2005
@@ -54,12 +54,18 @@
return (TRUE);
/* ok check with all service */
+ D_("LAST: walking tru service db\n");
while_active_db(current)
{
/* dont check ourself */
if (current == service)
continue;
+ /* ignore runlevels */
+ /* TODO 20051105 SaTaN0rX: i do not know why i need to check for this */
+ if (current->type == TYPE_RUNLEVEL)
+ continue;
+
/* if this service also shud be started last, continue */
if (active_db_is(&LAST, current))
continue;
More information about the Initng-svn
mailing list