[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Startup scripts (problem again)
On Thu, 2002-03-14 at 14:21, firstname.lastname@example.org wrote:
> Hi all again.
> I have done the next:
> 1) I have added a line in inittab file like this:
> myid:3:wait:/bin/cp -R /mnt/flash/html/* /var/tmp/
> 2) I have done:
> make files
> make images
> after this I have start internet explore to access to axis etrax board but not shows the initial page (index.html)
> Directories are created but the files are not copied.
> Why have I done wrong???
Are you sure that you wanted index.html to be copied to
/var/tmp/index.html and not /var/tmp/html/index.html?
It works for me. I copied the entire /usr/html to /mnt/flash/html first
to simulate your /mnt/flash/html tree, and then:
[root@AxisProduct /]68# cp -R /mnt/flash/html/ /var/tmp/
[root@AxisProduct /]68# find /var/tmp/
All files and directories are copied. Are you using devboard_lx-R2_1_0
(there have been bugs in busybox in earlier releases)?