Typo Error and bug fix for emgd-bin.init build/2012-07-10.232212
authorWang Quanxian <quanxian.wang@intel.com>
Tue, 10 Jul 2012 23:21:29 +0000 (07:21 +0800)
committerWang Quanxian <quanxian.wang@intel.com>
Tue, 10 Jul 2012 23:21:29 +0000 (07:21 +0800)
Signed-off-by Quanxian Wang <quanxian.wang@intel.com>

packaging/emgd-bin.changes
packaging/emgd-bin.init

index c28d8d3..a4ad9e7 100644 (file)
@@ -1,3 +1,6 @@
+* Tue Jul 10 2012 Quanxian Wang <quanxian.wang@intel.com> - 2667
+- Typo Error and bug fix for emgd-bin.init
+
 * Sun Jul  8 2012 Quanxian Wang <quanxian.wang@intel.com> - 2667
 - change location of emgd-bin.service from /lib/systemd to /usr/lib/systemd
 - Add missing library link
index 46491be..7d9b747 100644 (file)
@@ -6,9 +6,9 @@ RETVAL=0
 
 ##################################################################
 #
-#        Russellville  CrownBay    CrossvilleOKI    ML7213
-#monitor LVDS 7       LVDS 13     LVDS 7           LVDS 13
-#Gfx     8086:8108    8086:4108   8086:4108        8086:4108
+#        Russellville  CrownBay    CrossvilleOKI    ML7213   NexCOM
+#monitor LVDS 7       LVDS 13     LVDS 7           LVDS 13   LVDS 7
+#Gfx     8086:8108    8086:4108   8086:4108        8086:4108 8086:4108
 #
 #################################################################
 #
@@ -88,7 +88,7 @@ find_board_type() {
                elif [ $IS_CROWNBAY -eq '1' ]; then
                        _board_type='CrownBay'
                else
-                       _board_type='NextCom'
+                       _board_type='NexCom'
                fi
        else
                _board_type='unknown'
@@ -109,7 +109,7 @@ set_config() {
                CrownBay)
                        configfile='emgd-cb.conf'
                        ;;
-               NextCom)
+               NexCom)
                        configfile='emgd-rv.conf'
                        ;;
                CrossvilleOKI)
@@ -123,7 +123,7 @@ set_config() {
        if [ -f /etc/X11/xorg.conf ]; then
                break;
        else
-               cp /usr/share/doc/emgd-bin/$configfile /etc/X11/xorg.conf
+               /bin/cp /usr/share/doc/emgd-bin/$configfile /etc/X11/xorg.conf
        fi
 }