blob: 5f7163d590b2f1aca9687463404406c18bfbe09c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
[PATCH] mcstrans: fix the init script
Upstream-Status: Inappropriate [embedded specific]
replace daemon with start-stop-daemon, due to not daemon functions
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
---
src/mcstrans.init | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mcstrans.init b/src/mcstrans.init
index 2804ec0..c660290 100644
--- a/src/mcstrans.init
+++ b/src/mcstrans.init
@@ -51,7 +51,7 @@ start(){
fi
unset HOME MAIL USER USERNAME
- daemon $prog "$EXTRAOPTIONS"
+ start-stop-daemon --start --quiet --exec $prog -- "$EXTRAOPTIONS"
RETVAL=$?
echo
if test $RETVAL = 0 ; then
--
1.9.1
|