diff options
author | Roy Marples <roy@marples.name> | 2007-10-02 09:57:23 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-10-02 09:57:23 +0000 |
commit | 69ebf0c73888203968d6737773a6a2c41636f551 (patch) | |
tree | 98ba2166ee53174ee6cfc7cd103bda8958e1566a /src/runscript.c | |
parent | 4e9e8d075cddb6f9d1e9c7baba976b99e9366304 (diff) |
rc_allow_plug -> rc_service_plugable
Diffstat (limited to 'src/runscript.c')
-rw-r--r-- | src/runscript.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |