/sbin/ldconfig
# Check 3-touchkey firmware
-/lib/firmware/firmware_upgrade_touchkey.sh
+#/lib/firmware/firmware_upgrade_touchkey.sh
#Check machine is P1P2
MACHINE=`grep Hardware /proc/cpuinfo|cut -d ":" -f 2|tr -d " "`
-if [ $MACHINE == "P1P2" ];then
+if [ $MACHINE -eq "P1P2" ];then
ln -s /opt/etc/X11/xorg.conf.d.p1p2 /opt/etc/X11/xorg.conf.d
# motor sensor has not been implemented yet
rm -f /usr/driver/tspdrv.ko
mkdir -p /opt/etc/sound
fi
-if [ $MACHINE == "F1" ]; then
+if [ $MACHINE -eq "F1" ]; then
cp -r /usr/share/ascenario/mc1n2 /opt/etc/sound/default
cp -r /usr/share/ascenario/mc1n2.conf /opt/etc/sound/default.conf
else