hi.. which file should i modify to be able to put the scripts in -x debug mode when bootin the machine into multi-user.. i looked at /etc/inittab and modified /sbin/rc6 and put an -x on the script but didnt do anything.. thanks in advance
The scripts themselves are in the [tt]/sbin[/tt] directory. The script for full multiuser mode is [tt]/sbin/rc3[/tt]. You could add the [tt]-x[/tt] to it's first line.
Keep in mind this will only cause that script to run debug, not all of the startup scripts.
If you want to watch each script running I think you can modify the /sbin/rc? file. In the case statement it looks like it calls a shell to run each startup script. It shows as follows on Solaris 8:
Code:
/sbin/sh $f start
Change it to:
/sbin/sh -x $f start
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.