Changeset 74f852a in clfs-embedded for bootscripts/clfs
- Timestamp:
- Nov 14, 2006, 12:30:45 PM (18 years ago)
- Branches:
- master
- Children:
- a0ead2e
- Parents:
- 5cdebbb
- Location:
- bootscripts/clfs/etc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/clfs/etc/inittab
r5cdebbb r74f852a 1 # /etc/inittab 2 1 3 ::sysinit:/etc/rc.d/startup 4 5 null::sysinit:/bin/mount -t proc proc /proc 6 null::sysinit:/bin/mount -t sysfs none /sys 7 null::sysinit:/bin/mount -o remount,rw / 8 null::sysinit:/sbin/mdev -s 2 9 3 10 tty1::respawn:/sbin/getty 38400 tty1 … … 8 15 tty6::respawn:/sbin/getty 38400 tty6 9 16 17 # Put a getty on the serial line (for a terminal) 18 #::respawn:/sbin/getty -L ttyS 115200 vt100 19 10 20 ::shutdown:/etc/rc.d/shutdown 11 21 ::ctrlaltdel:/sbin/reboot -
bootscripts/clfs/etc/rc.d/startup
r5cdebbb r74f852a 7 7 8 8 . /etc/rc.d/init.d/functions 9 10 echo -n "Mounting proc: "11 mount /proc12 check_status13 14 echo -n "Mounting sysfs: "15 mount -t sysfs none /sys16 check_status17 18 echo -n "Mounting dev: ""19 mount -n -t tmpfs -o mode=0755 udev /dev20 check_status21 echo -n "Copying static devices to dev: "22 cp --preserve=all --recursive --remove-destination /lib/udev/devices/* /dev23 check_status24 chmod 1777 /dev/shm25 echo "" > /sys/kernel/uevent_helper26 echo -n "Starting udev daemon: "27 /sbin/udevd --daemon28 check_status29 mkdir -p /dev/.udev/queue30 echo -n "Populating dev: "31 /sbin/udevtrigger32 check_status33 echo -n "Waiting for udev to finish: "34 /sbin/udevsettle35 check_status36 9 37 10 echo -n "Setting system clock: "
Note:
See TracChangeset
for help on using the changeset viewer.