#2677: sysvinit-2.88dsf
---------------------------+------------------------------------------------
 Reporter:  hohoxu_hao115  |       Owner:  lfs-b...@…                   
     Type:  enhancement    |      Status:  new                          
 Priority:  normal         |   Milestone:  6.7                          
Component:  Book           |     Version:  SVN                          
 Severity:  normal         |    Keywords:                               
---------------------------+------------------------------------------------
 Main page:http://savannah.nongnu.org/projects/sysvinit
 Download
 address:http://ftp.twaren.net/Unix/NonGNU/sysvinit/sysvinit-2.88dsf.tar.bz2

 This is the sysvinit version currently under maintenance. As we can see,
 the version we used in our book is not maintained any more for a long
 time. I have updated to this version for a while, and didn't encounter any
 problems. I suggest we update to this version.

 Only minor changes needed in our bootscript like this:

 {{{
 --- sendsignals_old     2010-06-04 08:48:43.582383740 +0800
 +++ sendsignals 2010-06-04 08:48:56.900382438 +0800
 @@ -23,7 +23,7 @@

                 sleep ${KILLDELAY}

 -               if [ "${error_value}" = 0 ]; then
 +               if [ "${error_value}" = 0 -o "${error_value}" = 2 ]; then
                         echo_ok
                 else
                         echo_failure
 @@ -35,7 +35,7 @@

                 sleep ${KILLDELAY}

 -               if [ "${error_value}" = 0 ]; then
 +               if [ "${error_value}" = 0 -o "${error_value}" = 2 ]; then
                         echo_ok
                 else
                         echo_failure
 }}}

 because if no process  needs to be terminated or killed(all running
 processes are in the same session as killall5, or init process itself),
 the killall5 program will return 2. it is not a failure.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2677>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to