Overlay factory test logo onto boot splash for factory testing

When we are in factory test mode, overlay factory test logo after boot
splash is displayed. This makes it easier for user to know what image is
currently in use.

BUG=chrome-os-partner:24798
TEST=In factory test mode, check factory test logo is displayed. In
normal test image, check there is no factory test logo.

Change-Id: Icf51431bf4cebe45b91330d02669ebc66e21b680
Signed-off-by: Vic (Chun-Ju) Yang <victoryang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/181323
diff --git a/test-init/factory-splash.conf b/test-init/factory-splash.conf
new file mode 100644
index 0000000..8c8c390
--- /dev/null
+++ b/test-init/factory-splash.conf
@@ -0,0 +1,16 @@
+# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+description    "Overlay factory test logo onto boot splash"
+author         "chromium-os-dev@chromium.org"
+
+start on stopping startup and stopping boot-splash
+task
+
+script
+  . /usr/share/cros/factory_utils.sh
+  if is_factory_mode; then
+    ply-image "/usr/local/factory/misc/boot_splash.png" --offset=0,+80
+  fi
+end script