Now we cd to the /homewww directory and make the changes:
cd home/www
rm cirrus.jpg
rm index.html
cp /armfiles/home/www/index.html index.html
Next, we cd to /etc to make the rc.sysinit change:
cd /armdisk/etc
rm rc.sysinit
cp /armfiles/etc/rc.sysinit rc.sysinit
The changes are complete. The /armdisk is umounted, then remounted to verify
that the changes are in place.
cd /
umount /armdisk
mount –o loop /armdisk/ramdisk /armdisk
cd /
cd /armdisk
cd /home/www
ls
At this point, just the new index.html file should be in this directory. You can use
the more command to have a quick look at it. Also visit the /etc directory and
verify that the ifconfig eth0 command appears near the end of the rc.sysinit file.
umount /armdisk and now the new ramdisk file is almost ready to go. The
ramdisk file must be gzipped so that it can be loaded into the GESBC-9302:
gzip -r -9 ramdisk
Next, copy the zipped ramdisk file to /home/arm for ftp to the Windows PC:
cp ramdisk.gz /home/arm/ramdisk.gz
Comentarios a estos manuales