# customize the slp-common post script
+echo 'kickstart post script start'
+
# to make udev happy
ln -sf /bin/busybox /sbin/blkid
# where in the world is xinitrc?
ln -sf /etc/X11/xinitrc /usr/etc/X11/xinitrc
-# modprobe fuse for sqlfs-mount
-awk 'NR==3{print "/sbin/modprobe fuse || :"}3' /etc/init.d/sqlfs-mount
+# inittab hack to fix console - UI switching
+sed -ri 's/--noclear tty1/tty3/' /etc/inittab
+sed -ri 's/tty2/tty4/' /etc/inittab
+# modprobe fuse for sqlfs-mount
+/bin/sed -i "3i /sbin/modprobe fuse || :" /etc/rc.d/init.d/sqlfs-mount
-echo 'kickstart post script start'
if [ -d /etc/init.d ]; then
cp /etc/init.d/* /etc/rc.d/init.d/ -rdf
fi
rm -rf /etc/localtime
ln -sf /opt/etc/localtime /etc/localtime
-# Without this line the rpm don't get the architecture right.
+# Without this line the rpm doesn't get the architecture right.
# echo -n 'armv7l-tizen-linux' > /etc/rpm/platform
> /etc/rpm/platform
chmod +x /usr/bin/press
ln -s /opt/etc/X11/xkb /usr/share/X11
+ln -s /home/app /opt/home/app
+ln -s /home/developer /opt/home/developer
+
echo "UDEV_PERSISTENT_STORAGE=no" >> /etc/sysconfig/udev