tizen 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 3-touchkey firmware
10 /lib/firmware/firmware_upgrade_touchkey.sh
11
12 ln -s /opt/etc/X11/xorg.conf.d.default /opt/etc/X11/xorg.conf.d
13
14 # Copy alsa scenario file for sound path temporary
15 if [ ! -e /opt/etc/sound ]; then
16        mkdir -p /opt/etc/sound
17 fi
18 cp -r /usr/share/ascenario/default /opt/etc/sound/default
19 cp -r /usr/share/ascenario/default.conf /opt/etc/sound/default.conf
20
21 chown root:soundpath  /opt/etc/sound/default.conf
22 chown -R root:soundpath  /opt/etc/sound/default
23
24 if [ -e /opt/system/csc/.factoryreset ]; then
25         rm -f /opt/system/csc/.factoryreset
26 fi
27 sync