I know its very late for the reply but
as soon as I got it I posted it, If you have got
the reply by now, no matter ignore this mail, but
if you still seek reply then here it is,
--- y2k_vinay <[EMAIL PROTECTED]> wrote:
> 2.where is the variable "$IN_INITLOG" in
> rc.sysinit defined ?
> { defination of rest of the variables inside
> rc.sysinit was found
> either in /etc/init.d/fuctions script or in
> /etc/sysconfig/init script }
--- extract of the statement from
/etc/rc.d/rc.sysinit ---
# Rerun ourselves through initlog
if [ -z "$IN_INITLOG" -a -x /sbin/initlog ]; then
exec /sbin/initlog $INITLOG_ARGS -r
/etc/rc.d/rc.sysinit
fi
----------------------------------------------------------
Actually the variable "$IN_INITLOG" is
not defined (i.e. it is null) when rc.sysinit is
executed for the first time and hence because of
the above statement the line "exec /sbin/initlog
$INITLOG_ARGS -r /etc/rc.d/rc.sysinit" is
executed and this line is responsible for setting
the variable "$IN_INITLOG" for the first time
which is "yes". And then the script is rerun with
the variable set and hence it ignores the above
statement for the second time of execution.
What I did to test this is that I
inserted two lines before the above mentioned
statement and the result was there, the two lines
were as below,
echo "IN_INITLOG $IN_INITLOG"
read
Because of this the system halted two
times at the time of startup, the first time it
only echoed "IN_INITLOG" and halted and when I
pressed enter it echoed "IN_INITLOG yes" and halted.
With regards,
Ansari M. Saeed
[EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
***Archives:
http://groups.yahoo.com/group/linuxvadapav/messages
***Group Usage Guidelines (Please Read):
http://groups.yahoo.com/group/linuxvadapav/files/mailing_rules
SPONSORED LINKS
| Linux operating system | Unix operating system | Linux software |
| Free linux operating system | Linux operating system download |
YAHOO! GROUPS LINKS
- Visit your group "linuxvadapav" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
