Remove rc_service_plugable function and make it private as it needs to read from our config file.

This commit is contained in:
Roy Marples
2008-01-13 17:47:23 +00:00
parent abc7a79755
commit 87e4e4410c
8 changed files with 43 additions and 50 deletions

View File

@ -1185,7 +1185,7 @@ int runscript (int argc, char **argv)
}
if (rc_yesno (getenv ("IN_HOTPLUG"))) {
if (! rc_conf_yesno ("rc_hotplug") || ! rc_service_plugable (applet))
if (! rc_conf_yesno ("rc_hotplug") || ! service_plugable (applet))
eerrorx ("%s: not allowed to be hotplugged", applet);
}