From 48d135e9d32d0e66f18eb8060e4df423292e0d67 Mon Sep 17 00:00:00 2001 From: Alexis Mousset Date: Mon, 3 Jul 2017 17:27:51 +0200 Subject: [PATCH] Fixes #11080: Same for 4.1 and new service implementation --- tree/20_cfe_basics/ncf_lib.cf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tree/20_cfe_basics/ncf_lib.cf b/tree/20_cfe_basics/ncf_lib.cf index 25d3d769a..936e0ac36 100644 --- a/tree/20_cfe_basics/ncf_lib.cf +++ b/tree/20_cfe_basics/ncf_lib.cf @@ -909,7 +909,7 @@ bundle agent ncf_services(service, action) # /etc/rcX.d/ pass1.is_boot_action.is_check_action.(!systemctl_utility_present|is_init_service).!is_upstart_service.!svcadm_utility_present.!chkconfig_utility_present.!chitab_utility_present:: - "action_command" string => "${paths.path[test]} -f /etc/rc`runlevel | ${paths.path[cut]} -d' ' -f2`.d/S??${service}"; + "action_command" string => "${paths.path[test]} -f /etc/rc`/sbin/runlevel | ${paths.path[cut]} -d' ' -f2`.d/S??${service}"; "method" string => "/etc/rcX.d/"; ###########################################################################