I have 2 questions :
----------------------------------
1 - How can I execute a program when Unix Sco reboot?
For example I have two script (two sockets) that I have to
start from 2 different users (root and toto).
I heard something about "etc/init.d" directory, but I don't know what to do next.
I put a script shell in which is starting a script but it doesn't work at all :
cd /mypath/myscript
I check rights on it, and even put "chmod 777" on it (in case...I will change it later)
----------------------------------
2 - How can I execute a command "init 6" from a C Unix script with "system" when this script hadn't been execute by root?
----------------------------------
Sorry for my approximative english and my light Unix knowledge...
Thanks!