aboutsummaryrefslogtreecommitdiff
path: root/src/rc/runscript.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-13 17:47:23 +0000
committerRoy Marples <roy@marples.name>2008-01-13 17:47:23 +0000
commit87e4e4410cb542f3b56989d02e088c5efdfaf157 (patch)
tree14ffb2f5a665b6a9015925a8fed2ed0bb5fdc164 /src/rc/runscript.c
parentabc7a79755c82ed5b6737901d71f8f7f15e1d992 (diff)
Remove rc_service_plugable function and make it private as it needs to read from our config file.
Diffstat (limited to 'src/rc/runscript.c')
-rw-r--r--src/rc/runscript.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/runscript.c b/src/rc/runscript.c
index 1f3d6625..e136e944 100644
--- a/src/rc/runscript.c
+++ b/src/rc/runscript.c
@@ -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);
}