Changeset 74f852a in clfs-embedded


Ignore:
Timestamp:
Nov 14, 2006, 12:30:45 PM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
master
Children:
a0ead2e
Parents:
5cdebbb
Message:

Updates to CLFS 3 Bootscripts

Location:
bootscripts/clfs/etc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/clfs/etc/inittab

    r5cdebbb r74f852a  
     1# /etc/inittab
     2
    13::sysinit:/etc/rc.d/startup
     4
     5null::sysinit:/bin/mount -t proc proc /proc
     6null::sysinit:/bin/mount -t sysfs none /sys
     7null::sysinit:/bin/mount -o remount,rw /
     8null::sysinit:/sbin/mdev -s
    29
    310tty1::respawn:/sbin/getty 38400 tty1
     
    815tty6::respawn:/sbin/getty 38400 tty6
    916
     17# Put a getty on the serial line (for a terminal)
     18#::respawn:/sbin/getty -L ttyS 115200 vt100
     19
    1020::shutdown:/etc/rc.d/shutdown
    1121::ctrlaltdel:/sbin/reboot
  • bootscripts/clfs/etc/rc.d/startup

    r5cdebbb r74f852a  
    77
    88. /etc/rc.d/init.d/functions
    9 
    10 echo -n "Mounting proc: "
    11 mount /proc
    12 check_status
    13 
    14 echo -n "Mounting sysfs: "
    15 mount -t sysfs none /sys
    16 check_status
    17 
    18 echo -n "Mounting dev: ""
    19 mount -n -t tmpfs -o mode=0755 udev /dev
    20 check_status
    21 echo -n "Copying static devices to dev: "
    22 cp --preserve=all --recursive --remove-destination /lib/udev/devices/* /dev
    23 check_status
    24 chmod 1777 /dev/shm
    25 echo "" > /sys/kernel/uevent_helper
    26 echo -n "Starting udev daemon: "
    27 /sbin/udevd --daemon
    28 check_status
    29 mkdir -p /dev/.udev/queue
    30 echo -n "Populating dev: "
    31 /sbin/udevtrigger
    32 check_status
    33 echo -n "Waiting for udev to finish: "
    34 /sbin/udevsettle
    35 check_status
    369
    3710echo -n "Setting system clock: "
Note: See TracChangeset for help on using the changeset viewer.