Hello - We have setup printers to startup in the /etc/rc.d/8 directory and when the SCO system is booted this script should kick them off or start them up but it doesn't. So I have to start it from root and leave the window open. I know this isn't right and trying to figure out what's missing. In the /var/adm/rc2.log it shows:
/etc/rc.d/8/userdef: /dev/ttyr031: cannot open
/etc/rc.d/8/userdef: /dev/ttyr030: cannot open
/etc/rc.d/8/userdef: /dev/ttyr028: cannot open
/etc/rc.d/8/userdef: /dev/ttyr029: cannot open
/etc/rc.d/8/userdef: /dev/ttyr027: cannot open
Not sure (have no experience with SCO) but it could be that your script is being started before the device driver has been loaded or before some other necessary component has been started. Try putting your script inside /etc/rc.d/rc.local, which is usually where post-startup scripts go. On most linux distributions and solaris, the scripts inside such a directory are numbered, S10network, S20http-server, etc., so that the OS runs them in order.
Yes; however I noticed that we had a few problems with the terminal settings and had to change a couple. I think 2 are not named correctly in the file. I will verify this again later today and make sure. Still if only 2 are wrong why didn't the other ones work? Right now, I have to start the file "userdef" in a root window and leave the window open after the system is rebooted. I know this is not right. This was orginally setup by one of our hardware vendors and when I brought it to his attention, he said he checked everything and does not know any reason why this won't work. So for now, I make sure daily this window does not close. The hardware vendor is still trying to figure this out as well. Hope you can help!
From what I see
You finish booting process at level 2...
So it doesnt make much sence to try at level 8, and I always thought it stopped at 4 (well 6...then the rest are very special options...)
If you want to change the level (like I do...) so that what you configured after standard OS install be launched, you must specify so in another file:
the DEFAULT_LEVEL entry in /etc/default/boot
But its ages since I last touched a SCO... and cant remember much...
Thank you! I found the /etc/default/boot which I will possibly change so that this level will boot. I am now looking at the other document as well. You've given me valuable information. I will most likely make the changes after hours tomorrow and see how things work. I'll let you know later. Thank you so much for all your information, help and tips.
I don't know enough about this file and where to make the changes to include the boot levels. Can you explain or tell me anything from seeing what I listed?