From 69ebf0c73888203968d6737773a6a2c41636f551 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 2 Oct 2007 09:57:23 +0000 Subject: rc_allow_plug -> rc_service_plugable --- src/runscript.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runscript.c') diff --git a/src/runscript.c b/src/runscript.c index 31138f48..6604fd84 100644 --- a/src/runscript.c +++ b/src/runscript.c @@ -1065,7 +1065,7 @@ int runscript (int argc, char **argv) /* We don't free our list as that would be null in environ */ } - softlevel = rc_get_runlevel (); + softlevel = rc_runlevel_get (); } setenv ("RC_ELOG", service, 1); @@ -1134,7 +1134,7 @@ int runscript (int argc, char **argv) } if (rc_env_bool ("IN_HOTPLUG")) { - if (! rc_env_bool ("RC_HOTPLUG") || ! rc_allow_plug (applet)) + if (! rc_env_bool ("RC_HOTPLUG") || ! rc_service_plugable (applet)) eerrorx ("%s: not allowed to be hotplugged", applet); } -- cgit v1.2.3