|
@@ -1,7 +1,7 @@
|
|
-From fab8c573d06340868f070446118673b1c23584c5 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 4a5602ede9881fd8e578a3c8bc40dd5df7c4d802 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Sat, 5 Sep 2015 06:31:47 +0000
|
|
Date: Sat, 5 Sep 2015 06:31:47 +0000
|
|
-Subject: [PATCH 02/26] implment systemd-sysv-install for OE
|
|
|
|
|
|
+Subject: [PATCH] implement systemd-sysv-install for OE
|
|
|
|
|
|
Use update-rc.d for enabling/disabling and status command
|
|
Use update-rc.d for enabling/disabling and status command
|
|
to check the status of the sysv service
|
|
to check the status of the sysv service
|
|
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
|
|
diff --git a/src/systemctl/systemd-sysv-install.SKELETON b/src/systemctl/systemd-sysv-install.SKELETON
|
|
diff --git a/src/systemctl/systemd-sysv-install.SKELETON b/src/systemctl/systemd-sysv-install.SKELETON
|
|
-index cb58d8243b..000bdf6165 100755
|
|
|
|
|
|
+index cb58d8243b..eff3f5f579 100755
|
|
--- a/src/systemctl/systemd-sysv-install.SKELETON
|
|
--- a/src/systemctl/systemd-sysv-install.SKELETON
|
|
+++ b/src/systemctl/systemd-sysv-install.SKELETON
|
|
+++ b/src/systemctl/systemd-sysv-install.SKELETON
|
|
@@ -34,17 +34,17 @@ case "$1" in
|
|
@@ -34,17 +34,17 @@ case "$1" in
|
|
@@ -22,13 +22,13 @@ index cb58d8243b..000bdf6165 100755
|
|
# call the command to enable SysV init script $NAME here
|
|
# call the command to enable SysV init script $NAME here
|
|
# (consider optional $ROOT)
|
|
# (consider optional $ROOT)
|
|
- echo "IMPLEMENT ME: enabling SysV init.d script $NAME"
|
|
- echo "IMPLEMENT ME: enabling SysV init.d script $NAME"
|
|
-+ update-rc.d -f $NAME defaults
|
|
|
|
|
|
++ update-rc.d ${ROOT:+-r $ROOT} -f $NAME defaults
|
|
;;
|
|
;;
|
|
disable)
|
|
disable)
|
|
# call the command to disable SysV init script $NAME here
|
|
# call the command to disable SysV init script $NAME here
|
|
# (consider optional $ROOT)
|
|
# (consider optional $ROOT)
|
|
- echo "IMPLEMENT ME: disabling SysV init.d script $NAME"
|
|
- echo "IMPLEMENT ME: disabling SysV init.d script $NAME"
|
|
-+ update-rc.d -f $NAME remove
|
|
|
|
|
|
++ update-rc.d ${ROOT:+-r $ROOT} -f $NAME remove
|
|
;;
|
|
;;
|
|
is-enabled)
|
|
is-enabled)
|
|
# exit with 0 if $NAME is enabled, non-zero if it is disabled
|
|
# exit with 0 if $NAME is enabled, non-zero if it is disabled
|
|
@@ -38,6 +38,3 @@ index cb58d8243b..000bdf6165 100755
|
|
;;
|
|
;;
|
|
*)
|
|
*)
|
|
usage ;;
|
|
usage ;;
|
|
---
|
|
|
|
-2.34.1
|
|
|
|
-
|
|
|