12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- diff --git a/UpdateDTS.sh.in b/UpdateDTS.sh.in
- index e123282..3a5cb18 100644
- --- a/UpdateDTS.sh.in
- +++ b/UpdateDTS.sh.in
- @@ -76,11 +76,17 @@ if [ "$BASEBOARD" == "DISPLAY002_DI4" ]; then
- sh /root/Display2To_7inch.sh
- DONE=1
- else
- +if [ "$BASEBOARD" == "DISPLAY002_RS485" ]; then
- + echo "7 Inch Display 2 rs485"
- + sh /root/Display2To_7inch_rs485.sh
- + DONE=1
- +else
- echo "7 Inch"
- sh /root/DisplayTo_7inch.sh
- DONE=1
- fi
- fi
- +fi
-
- if [ "$XRES" == "1280" -a "$YRES" == "800" ]; then
- if [ "$BASEBOARD" == "DISPLAY002_DI4" ]; then
- diff --git a/UpdateRootfs.sh.in b/UpdateRootfs.sh.in
- index 76a75fb..eeec914 100644
- --- a/UpdateRootfs.sh.in
- +++ b/UpdateRootfs.sh.in
- @@ -150,11 +150,29 @@ if [ "$BASEBOARD" == "DISPLAY002_DI4" ]; then
- sh /root/Display2To_7inch.sh
- DONE=1
- else
- +if [ "$BASEBOARD" == "DISPLAY002_RS485" ]; then
- + echo "7 Inch Display 2 rs485"
- + sh /root/Display2To_7inch_rs485.sh
- + DONE=1
- +else
- echo "7 Inch"
- sh /root/DisplayTo_7inch.sh
- DONE=1
- fi
- fi
- +fi
- +
- +if [ "$XRES" == "640" -a "$YRES" == "480" ]; then
- +if [ "$BASEBOARD" == "DISPLAY002_DI4" ]; then
- + echo "5.7 Inch Display 2"
- + sh /root/Display2To_5_7inch.sh
- + DONE=1
- +else
- + echo "5.7 Inch"
- + sh /root/DisplayTo_5_7inch.sh
- + DONE=1
- +fi
- +fi
-
- if [ "$XRES" == "1280" -a "$YRES" == "800" ]; then
- if [ "$BASEBOARD" == "DISPLAY002_DI4" ]; then
- @@ -170,11 +188,11 @@ fi
-
- if [ "$XRES" == "1920" -a "$YRES" == "1080" ]; then
- if [ "$BASEBOARD" == "DISPLAY002_DI4" ]; then
- - echo "10 Inch Display 2"
- + echo "15 Inch Display 2"
- sh /root/Display2To_15inch.sh
- DONE=1
- else
- - echo "10 Inch"
- + echo "15 Inch"
- sh /root/DisplayTo_15inch.sh
- DONE=1
- fi
|