Is there a file which log the staus of sysinit.x

Could someone tell a way of show the executing status of sysinit.1 script?
Or if there a log file for it?

Thanks for your help inadvance.

“Joe” <zhouqinglun@hotmail.com> wrote in message
news:J7Xv7.3$nN6.374@wa.nnrp.telstra.net

Could someone tell a way of show the executing status of sysinit.1 script?

set -x at the beginning of the file I beleive.
You could also insert echo statement in the sysinit.

Or if there a log file for it?

Not that I know of.

Thanks for your help inadvance.

If your startup script is running syslogd?
Then many system utilities will log error messages
to the syslog. The default settings usually
point all messages to /tmp/syslog.
You may want to add “logger” command(s) to your
sysinit.X Which is similar idea to Mario’s echo
commands. You may need to combine both
techniques with pause statements like
"read usrinput?“press enter to continue”
to debug startup problems
The syslog tracks the PID and timestamp
of each message.
FYI.
1.) I use “logger” command in the scripts I write
log the script execution.
2.) I use openlog(), syslog(), vsyslog(),setlogmask()
in the c/c++ applications I write.

“Mario Charest” <mcharest@clipzinformatic.com> wrote in message
news:9punbu$e9o$1@inn.qnx.com

“Joe” <> zhouqinglun@hotmail.com> > wrote in message
news:J7Xv7.3$> nN6.374@wa.nnrp.telstra.net> …
Could someone tell a way of show the executing status of sysinit.1
script?

set -x at the beginning of the file I beleive.
You could also insert echo statement in the sysinit.

Or if there a log file for it?

Not that I know of.


Thanks for your help inadvance.
\