From 87e4e4410cb542f3b56989d02e088c5efdfaf157 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sun, 13 Jan 2008 17:47:23 +0000 Subject: Remove rc_service_plugable function and make it private as it needs to read from our config file. --- src/rc/rc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/rc/rc.c') diff --git a/src/rc/rc.c b/src/rc/rc.c index 4bf6541e..6fcbd981 100644 --- a/src/rc/rc.c +++ b/src/rc/rc.c @@ -1195,7 +1195,7 @@ int main (int argc, char **argv) continue; if (rc_service_exists (d->d_name) && - rc_service_plugable (d->d_name)) + service_plugable (d->d_name)) rc_service_mark (d->d_name, RC_SERVICE_COLDPLUGGED); i = strlen (DEVBOOT "/") + strlen (d->d_name) + 1; @@ -1229,7 +1229,7 @@ int main (int argc, char **argv) tmp = xmalloc (sizeof (char) * i); snprintf (tmp, i, "net.%s", d->d_name); if (rc_service_exists (tmp) && - rc_service_plugable (tmp)) + service_plugable (tmp)) rc_service_mark (tmp, RC_SERVICE_COLDPLUGGED); CHAR_FREE (tmp); } @@ -1250,7 +1250,7 @@ int main (int argc, char **argv) tmp = xmalloc (sizeof (char) * i); snprintf (tmp, i, "moused.%s", d->d_name); if (rc_service_exists (tmp) && - rc_service_plugable (tmp)) + service_plugable (tmp)) rc_service_mark (tmp, RC_SERVICE_COLDPLUGGED); CHAR_FREE (tmp); } -- cgit v1.2.3