upload source about tizen 2.0 beta release
[adaptation/system-plugin-slp.git] / etc / rc.d / rc.firstboot
1 #!/bin/sh
2
3 #/sbin/ldconfig -f /opt/etc/ld.so.conf -C /opt/etc/ld.so.cache
4 /sbin/ldconfig
5
6 # for /etc/.info/system.info
7 /bin/sysinfo
8
9 #Check machine is SLP7_C210
10 MACHINE=`grep Hardware /proc/cpuinfo|cut -d ":" -f 2|tr -d " "`
11 if [ $MACHINE == "SLP7_C210" ];then
12         ln -s /opt/etc/X11/xorg.conf.d.slp7 /opt/etc/X11/xorg.conf.d
13 else
14         #Check machine is SLP10_C210
15         if [ $MACHINE == "SLP10_C210" ];then
16                 ln -s /opt/etc/X11/xorg.conf.d.slp10 /opt/etc/X11/xorg.conf.d
17         else
18                 ln -s /opt/etc/X11/xorg.conf.d.default /opt/etc/X11/xorg.conf.d
19         fi
20 fi
21
22
23 if [ -e /opt/system/csc/.factoryreset ]; then
24         rm -f /opt/system/csc/.factoryreset
25 fi
26 sync