1 # customize the slp-common post script
4 ln -sf /bin/busybox /sbin/blkid
6 # where in the world is xinitrc?
7 ln -sf /etc/X11/xinitrc /usr/etc/X11/xinitrc
9 # modprobe fuse for sqlfs-mount
10 awk 'NR==3{print "/sbin/modprobe fuse || :"}3' /etc/init.d/sqlfs-mount
13 echo 'kickstart post script start'
14 if [ -d /etc/init.d ]; then
15 cp /etc/init.d/* /etc/rc.d/init.d/ -rdf
18 ln -sf /etc/rc.d/init.d /etc/init.d
21 ln -sf /opt/etc/localtime /etc/localtime
23 # Without this line the rpm don't get the architecture right.
24 # echo -n 'armv7l-tizen-linux' > /etc/rpm/platform
27 ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N ""
28 ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""
29 ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""
34 /opt/apps/com.samsung.menu-screen/bin/menuscreen_initdb
36 # ims-service domain setting
37 RESULT=`grep "192.168.0.163 config.45001.rcse" /etc/hosts`
38 if [ -z "$RESULT" ]; then
39 echo "Set domain for auto configuration"
40 echo "192.168.0.163 config.45001.rcse" >> /etc/hosts
42 echo "Already setted domain for test auto configuration"
44 # ims-service domain setting
46 cat > /usr/bin/press << EOF
51 [ "\$1" ] && TIMEOUT="\$1" || TIMEOUT="1"
53 echo "Press return key to stop scripts"
54 read -t \$TIMEOUT JUNK
57 chmod +x /usr/bin/press
59 ln -s /opt/etc/X11/xkb /usr/share/X11
61 echo "UDEV_PERSISTENT_STORAGE=no" >> /etc/sysconfig/udev
68 mkdir -p /opt/var/lib/dbus
70 rm -f /var/lib/rpm/__db*
71 mv -f /var/lib/rpm /opt/var/lib/
72 ln -sf /opt/var/lib/rpm /var/lib/rpm
75 if [ -e /usr/bin/build-backup-data.sh ]; then
76 /usr/bin/build-backup-data.sh