OLD | NEW |
(Empty) | |
| 1 diff -Naur old/etc/init/dump-boot-stats.conf new/etc/init/dump-boot-stats.conf |
| 2 --- old/etc/init/dump-boot-stats.conf 2010-04-05 21:33:11.000000000 -0700 |
| 3 +++ new/etc/init/dump-boot-stats.conf 2010-04-05 21:00:48.000000000 -0700 |
| 4 @@ -7,7 +7,7 @@ |
| 5 # when login-prompt-ready is received, grabs the current uptime and |
| 6 # disk stats. Also sends uptime to metrics client for perf dashboard |
| 7 |
| 8 -start on login-prompt-ready |
| 9 +start on stopping startup |
| 10 |
| 11 # This is run-once rather than a service. |
| 12 task |
| 13 diff -Naur old/etc/init/factory.conf new/etc/init/factory.conf |
| 14 --- old/etc/init/factory.conf 1969-12-31 16:00:00.000000000 -0800 |
| 15 +++ new/etc/init/factory.conf 2010-04-05 20:59:07.000000000 -0700 |
| 16 @@ -0,0 +1,17 @@ |
| 17 + |
| 18 +description "Chrome OS factory startup stub" |
| 19 +author "chromium-os-dev@googlegroups.com" |
| 20 + |
| 21 +start on stopping autotest |
| 22 + |
| 23 +script |
| 24 + |
| 25 +cd /usr/local/autotest |
| 26 +if [ ! -e factory_started ]; then |
| 27 + touch factory_started |
| 28 + date >> /var/log/factory.log |
| 29 + cp -f site_tests/suite_Factory/control.full control |
| 30 + ./bin/autotest control >> /var/log/factory.log 2>&1 |
| 31 +fi |
| 32 +end script |
| 33 + |
| 34 diff -Naur old/etc/init/autotest.conf new/etc/init/autotest.conf |
| 35 --- old/etc/init/autotest.conf 1969-12-31 16:00:00.000000000 -0800 |
| 36 +++ new/etc/init/autotest.conf 2010-04-05 20:59:07.000000000 -0700 |
| 37 @@ -0,0 +1,15 @@ |
| 38 + |
| 39 +description "Chrome OS autotest startup stub" |
| 40 +author "chromium-os-dev@googlegroups.com" |
| 41 + |
| 42 +start on started udev |
| 43 + |
| 44 +script |
| 45 +# Sleep as the current upstart sequence gives no clear completion signal. |
| 46 +# TODO: investigate generating authoritative bootup finished event. |
| 47 +sleep 10 |
| 48 +cd /usr/local/autotest |
| 49 +date >> /var/log/factory.log |
| 50 +./tools/autotest >> /var/log/factory.log 2>&1 |
| 51 +end script |
| 52 + |
| 53 diff -Naur old/etc/init/tty1.conf new/etc/init/tty1.conf |
| 54 --- old/etc/init/tty1.conf 1969-12-31 16:00:00.000000000 -0800 |
| 55 +++ new/etc/init/tty1.conf 2010-04-05 20:59:07.000000000 -0700 |
| 56 @@ -0,0 +1,9 @@ |
| 57 +start on startup |
| 58 +stop on starting halt or starting reboot |
| 59 + |
| 60 +respawn |
| 61 +script |
| 62 +cd / |
| 63 +/sbin/agetty 38400 tty1 linux -l /bin/bash -n |
| 64 +end script |
| 65 + |
| 66 diff -Naur old/sbin/chromeos_startup new/sbin/chromeos_startup |
| 67 --- old/sbin/chromeos_startup 2010-04-05 21:33:52.000000000 -0700 |
| 68 +++ new/sbin/chromeos_startup 2010-04-05 21:38:02.000000000 -0700 |
| 69 @@ -20,18 +20,12 @@ |
| 70 |
| 71 # Moblin trick: Disable blinking cursor. Without this a splash screen |
| 72 # will show a distinct cursor shape even when the cursor is set to none. |
| 73 -echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink |
| 74 +# echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink |
| 75 |
| 76 # Since we defer udev until later in the boot process, we pre-populate /dev |
| 77 # with the set of devices needed for X and other early services to run. |
| 78 cp -a -f /lib/chromiumos/devices/* /dev |
| 79 |
| 80 -# Splash screen! |
| 81 -if [ -x /usr/bin/ply-image ] |
| 82 -then |
| 83 - /usr/bin/ply-image /usr/share/chromeos-assets/images/login_splash.png & |
| 84 -fi |
| 85 - |
| 86 mount -n -t tmpfs tmp /tmp |
| 87 mount -n -t tmpfs -onosuid,nodev shmfs /dev/shm |
| 88 mount -n -t devpts -onoexec,nosuid,gid=5,mode=0620 devpts /dev/pts |
OLD | NEW |