Chakkaradeep C C wrote:
> hi,
> 
> just check out at what initscripts file u r getting error and just use
> "echo" command in the initscripts file and "sleep 3" to make it sleep
> 3 seconds....and in this way u can find where actually the error
> is..........hope it helped u out........
> 

This is a very good suggestion, to assist a bit more, just put a 'echo
$0 && sleep 3' just before the end of the boot_mesg() function in the
/etc/rc.d/init.d/functions script.  $0 is the name of the current
process (running script).  It'll be really ugly output for the ones that
work, but it'll help you find the error.  For a reference point, the end
of the function should look like this:

--------------------------------------------------------------------------
        # if CUR_LENGTH was set to zero, then end the line
        if [ "${CUR_LENGTH}" == "0" ]; then
                echo ""
        fi
echo $0
sleep 3
}
--------------------------------------------------------------------------

-- DJ Lucas
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to