[Fuego] [PATCH] Bugfix: modify the command to start the service of sysvinit.

Wang Mingyu wangmy at cn.fujitsu.com
Fri Dec 21 10:41:44 UTC 2018


Signed-off-by: Wang Mingyu <wangmy at cn.fujitsu.com>
---
 engine/scripts/fuego_board_function_lib.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/engine/scripts/fuego_board_function_lib.sh b/engine/scripts/fuego_board_function_lib.sh
index 69ece97..4c29bf3 100644
--- a/engine/scripts/fuego_board_function_lib.sh
+++ b/engine/scripts/fuego_board_function_lib.sh
@@ -45,6 +45,6 @@ exec_service_on_target() {
     then
         systemctl $2 $1
     else
-        $1 $2
+        /etc/init.d/$1 $2
     fi
 }
-- 
1.8.3.1





More information about the Fuego mailing list