Skip to contentSkip to conversation

rc.sysinit .. auto start scripts??

Question [email protected] 2 participants 2 messages Mar 8, 2001

lore
Share & tools
lore
#0 lore raw

Hi, all developers...

Thanks for your kind answers for my previous ramdisk problem.. I made my own ramdisk and it workd fine... Really Thanks for helps..!!

I have one question about /etc/rc.sysinit !!

I think rc.sysinit runs automatically on system booting.. Is that right?? but, when I booted my target, of course I got linux shell prompt. but /proc directory doesn't mount and didn't work ping, telnet, ifconfig...etc.

After I tried /etc/rc.sysinit , every thing worked fine..

Is it not possible to run etc.sysinit automatically on my linux booting?? I don't want to type /etc/rc.sysinit on command shell prompt line when target boots..

any comments will help me.. thanks.....

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw

You can look the file: /etc/inittab

This will have a line:
si::sysinit:/etc/rc.sysinit

/bin/init will look at /etc/inittab and call this for you

Hope this help,
Jari

Quoted 11 lines · [email protected] wrote:

Hi, all developers...

Thanks for your kind answers for my previous ramdisk problem.. I made my own ramdisk and it workd fine... Really Thanks for helps..!!

I have one question about /etc/rc.sysinit !!

I think rc.sysinit runs automatically on system booting.. Is that right?? but, when I booted my target, of course I got linux shell prompt. but /proc directory doesn't mount and didn't work ping, telnet, ifconfig...etc.

Quoted 7 lines

After I tried /etc/rc.sysinit , every thing worked fine..

Is it not possible to run etc.sysinit automatically on my linux booting?? I don't want to type /etc/rc.sysinit on command shell prompt line when target boots..

any comments will help me.. thanks.....

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/