From d6acd7d83e2693e0afb12a8a6400e491bb1dda65 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 28 Aug 2007 09:13:46 +0000 Subject: Move more stuff to #defines --- src/librc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/librc.c') diff --git a/src/librc.c b/src/librc.c index 9b48b6bb..6d9e46d7 100644 --- a/src/librc.c +++ b/src/librc.c @@ -33,13 +33,13 @@ static const char *rc_service_state_names[] = { bool rc_runlevel_starting (void) { - return (rc_is_dir (RC_SVCDIR "/softscripts.old")); + return (rc_is_dir (RC_STARTING)); } librc_hidden_def(rc_runlevel_starting) bool rc_runlevel_stopping (void) { - return (rc_is_dir (RC_SVCDIR "/softscripts.new")); + return (rc_is_dir (RC_STOPPING)); } librc_hidden_def(rc_runlevel_stopping) -- cgit v1.2.3