Netcard config with backup dataForum: Other Help Topics Topic: Netcard config with backup data started by: mune Posted by mune on Jan. 05 2007,00:46
DSL boots up from the CD the DSL reads the file backup.tar.gz and some files are unpacked in /home/dslThe CD I use to boot from is a remastered one and the major diff if in /etc/inittab, where the system is instructed to execute a shell script that is in a subfolder of /home/dsl . Everything works until in the script there is
Where the file named NetSetup is
When the boot process is over I open shell and I check with 'ifconfig'. There is no eth0. I do 'sudo /etc/init.d/networking restart' and with next 'ifconfig' the eth0 is in its place. I figured out that it is a timing issue but the 'at' command is not present. Any ideas? Thanks Fede Posted by ^thehatsrule^ on Jan. 05 2007,01:17
re timing issue: did you try sleep #?
Posted by mune on Jan. 05 2007,14:40
No, I will try the 'sleep' command. Thanks Fede Posted by mune on Jan. 07 2007,15:02
I did it, ut while in the shell it works (it stops foa an amount of time), during the boot it doesn't nothing. Fede Posted by ^thehatsrule^ on Jan. 07 2007,20:35
I think others put their network commands+sleep in /opt/bootlocal.sh which seems to work... you could try that out as well.
Posted by mune on Jan. 08 2007,16:17
I did it. I followed < this > post to know how to write the file /opt/bootlocol.sh . Thanls |