1 echo 'kickstart post script start'
2 if [ -d /etc/init.d ]; then
3 cp /etc/init.d/* /etc/rc.d/init.d/ -rdf
6 ln -sf /etc/rc.d/init.d /etc/init.d
9 ln -sf /opt/etc/localtime /etc/localtime
10 #rm -rf /usr/share/zoneinfo
11 #ln -sf /opt/share/zoneinfo /usr/share/zoneinfo
13 # Without this line the rpm don't get the architecture right.
14 # echo -n 'armv7l-tizen-linux' > /etc/rpm/platform
17 ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N ""
18 ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""
19 ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""
24 /opt/apps/com.samsung.menu-screen/bin/menuscreen_initdb
26 # ims-service domain setting
27 RESULT=`grep "192.168.0.163 config.45001.rcse" /etc/hosts`
28 if [ -z "$RESULT" ]; then
29 echo "Set domain for auto configuration"
30 echo "192.168.0.163 config.45001.rcse" >> /etc/hosts
32 echo "Already setted domain for test auto configuration"
34 # ims-service domain setting
36 cat > /usr/bin/press << EOF
41 [ "\$1" ] && TIMEOUT="\$1" || TIMEOUT="1"
43 echo "Press return key to stop scripts"
44 read -t \$TIMEOUT JUNK
47 chmod +x /usr/bin/press
49 ln -s /opt/etc/X11/xkb /usr/share/X11
51 echo "UDEV_PERSISTENT_STORAGE=no" >> /etc/sysconfig/udev
58 mkdir -p /opt/var/lib/dbus
60 rm -f /var/lib/rpm/__db*
61 mv -f /var/lib/rpm /opt/var/lib/
62 ln -sf /opt/var/lib/rpm /var/lib/rpm
65 if [ -e /usr/bin/build-backup-data.sh ]; then
66 /usr/bin/build-backup-data.sh