From 144fba14de1f73fb7f8ce38639f05b795c8af141 Mon Sep 17 00:00:00 2001 From: dufourj Date: Mon, 16 Jan 2006 21:47:12 +0000 Subject: PC104 : - modifications mineurs pour les scripts du mode autonome ; - début du script d'update en autonome ; - correction du problème de dhcp en autonome ; - problème de ctrl-c ; - SD Card sux à mort !! --- i/pc104/initrd/create.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'i/pc104/initrd/create.sh') diff --git a/i/pc104/initrd/create.sh b/i/pc104/initrd/create.sh index b0d66ab..9bca54b 100755 --- a/i/pc104/initrd/create.sh +++ b/i/pc104/initrd/create.sh @@ -50,15 +50,17 @@ mount_initrd () create_empty_struct () { # Create an empty root structure - mkdir -p $INITRD_TEMPDIR/{bin,dev,etc,lib,proc,sbin,usr/{sbin,bin},var/lock,robot,initrd} + mkdir -p $INITRD_TEMPDIR/{bin,dev,etc,proc,sbin,usr/{sbin,bin},var/lock,robot,initrd,mnt/localsys} # Create all the devices files we need create_dev # Fstab install -m 644 $INITRD_CONFIG_DIR/fstab $INITRD_TEMPDIR/etc/fstab - # Inittab - #install -m 644 $INITRD_CONFIG_DIR/inittab $INITRD_TEMPDIR/etc/inittab + # Udhcpc script + install -m 755 $INITRD_CONFIG_DIR/udhcpc.script $INITRD_TEMPDIR/etc/udhcpc.script # Copy the linuxrc script install -m 755 $INITRD_CONFIG_DIR/linuxrc $INITRD_TEMPDIR/linuxrc + # Copy the update script for autonome mode + install -m 755 $INITRD_CONFIG_DIR/update_initrd.sh $INITRD_TEMPDIR/etc/update_initrd.sh } create_dev () @@ -73,7 +75,10 @@ create_dev () # Create the console for logging ? Useful ? XXX $makedev -v consoleonly #tty1 tty2 tty3 tty4 tty5 - #$makedev -v ttyS0 ttyS1 ttyS2 ttyS3 ttyS4 ttyS5 ttyS6 + # Serial + $makedev -v ttyS0 ttyS1 ttyS2 + # Hard disk + $makedev -v hda # XXX Complete... # Back to the originated directory cd $cur_dir -- cgit v1.2.3