ALT Linux Bugzilla
– Attachment 148 Details for
Bug 1600
--bg options to work in daemon() function
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
0001600-functions.diff
0001600-functions.diff (text/x-diff), 812 bytes, created by
Igor Homyakov
on 2002-12-08 17:01:56 MSK
(
hide
)
Description:
0001600-functions.diff
Filename:
MIME Type:
Creator:
Igor Homyakov
Created:
2002-12-08 17:01:56 MSK
Size:
812 bytes
patch
obsolete
>Index: rc.d/init.d/functions >=================================================================== >RCS file: /home/cvs/cvsroot/initscripts/rc.d/init.d/functions,v >retrieving revision 1.26 >diff -u -r1.26 functions >--- rc.d/init.d/functions 15 Apr 2002 13:50:43 -0000 1.26 >+++ rc.d/init.d/functions 8 Dec 2002 13:59:48 -0000 >@@ -177,9 +177,9 @@ > > # And start it up. > if [ -z "$daemon_user" ]; then >- nice -n $nicelevel initlog $INITLOG_ARGS -c "$*$bg" >+ nice -n $nicelevel initlog $INITLOG_ARGS -n "$base" -c "sh -c '$*$bg'" > else >- nice -n $nicelevel initlog $INITLOG_ARGS -n "$base" -c "su -s /bin/sh -l $daemon_user -c \"$*$bg\"" >+ nice -n $nicelevel initlog $INITLOG_ARGS -n "$base" -c "su -s /bin/sh -l $daemon_user -c '$*$bg'" > fi > [ $? = 0 ] && success "$base startup" || failure "$base startup" > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1600
: 148