Changeset 43157
- Timestamp:
- 12/27/18 20:20:49 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/oealliance/var/etc/autostart/start.sh
r43153 r43157 146 146 { 147 147 startup_progress "$INPUT" 148 149 if [ -L /mnt ];then 150 rm -f /mnt 151 fi 148 152 149 153 if [ -e /var/etc/.erasemtd ] || [ ! -e /mnt/swapextensions ]; then … … 497 501 if [ -z "$START" ]; then START="$STARTDEFAULT"; fi 498 502 503 #hissilicon work 504 if [ -e /proc/stb/info/boxtype ]; then 505 stbcheck=`cat /proc/stb/info/boxtype` 506 if [ $stbcheck == "sf8008" ] || [ $stbcheck == "ustym4kpro" ] || [ $stbcheck == "cc1" ]; then 507 count=`ps -ef |grep libreader |grep -v "grep" |wc -l` 508 if [ 0 == $count ];then 509 libreader 720P_50 510 fi 511 fi 512 fi 513 sysctl -p 514 499 515 case $debug in on|full) echo "[$0] [$INPUT] startGui: ret($ret) $START";; esac 500 516 $START … … 507 523 508 524 ret=$? 525 526 #hissilicon work 527 if [ "$ret" -ne "1" ]; then 528 if [ -e /proc/stb/info/boxtype ]; then 529 stbcheck=`cat /proc/stb/info/boxtype | cut -c1-2` 530 if [ $stbcheck == "u5" ]; then 531 killall -9 showiframe; sleep 5 532 fi 533 stbcheck=`cat /proc/stb/info/boxtype` 534 if [ $stbcheck == "sf8008" ] || [ $stbcheck == "ustym4kpro" ] || [ $stbcheck == "cc1" ] ; then 535 killall -9 libreader; sleep 5 536 fi 537 fi 538 fi 539 509 540 case $ret in 510 541 1)
Note: See TracChangeset
for help on using the changeset viewer.