UI-console switching accepted/2.0/20130304.225835 submit/2.0/20130304.232714
authorGraydon, Tracy <tracy.graydon@intel.com>
Mon, 4 Mar 2013 23:27:10 +0000 (15:27 -0800)
committerGraydon, Tracy <tracy.graydon@intel.com>
Mon, 4 Mar 2013 23:27:10 +0000 (15:27 -0800)
custom/scripts/ivi-2.0-symlinks.post [changed mode: 0644->0755]
ivi/ivi-2.0.yaml

old mode 100644 (file)
new mode 100755 (executable)
index 5ad7d40..922b887
@@ -1,8 +1,10 @@
 echo 'kickstart post script start'
 
 # inittab hack to fix console - UI switching
-sed -ri 's/--noclear tty1/tty3/' /etc/inittab
-sed -ri 's/tty2/tty4/' /etc/inittab
+sed -ri '/^1\:2345\:respawn/d' /etc/inittab
+echo '' >> /etc/inittab 
+echo '1:12345:respawn:/sbin/mingetty tty3' >> /etc/inittab  
+echo '2:12345:respawn:/sbin/mingetty tty4' >> /etc/inittab 
 
 
 if [ -d /etc/init.d ]; then
@@ -31,10 +33,10 @@ if [ -z "$RESULT" ]; then
 else  
     echo "Already setted domain for test auto configuration"  
 fi  
-# ims-service domain setting
+
 
 cat > /usr/bin/press << EOF
-#!/bin/sh
+!/bin/sh
 
 JUNK="SLP"
 
index c052db5..c1ba409 100755 (executable)
@@ -39,6 +39,6 @@ PrePackages:
     - vconf
     - tizen-coreutils
 PostScripts:
-    - ivi-2.0-symlinks.post
+    - ivi-2.0-symlinks
     - symlink-root
     - boot-into-ui