Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  set_hw.sh   Sprache: Shell

 

#! /vendor/bin/sh
# Set vendor.hw property to run device specific services
#
# grep the device name from /proc/device-tree/compatible

HW=`/vendor/bin/cat /proc/device-tree/compatible | /vendor/bin/grep db845c`
if [ -n "${HW}" ]; then
    setprop vendor.hw db845c
    setprop vendor.thermal.config thermal-db845c.json
    exit 0
fi

HW=`/vendor/bin/cat /proc/device-tree/compatible | /vendor/bin/grep rb5`
if [ -n "${HW}" ]; then
    setprop vendor.hw rb5
    exit 0
fi

HW=`/vendor/bin/cat /proc/device-tree/compatible | /vendor/bin/grep sm8550-hdk`
if [ -n "${HW}" ]; then
    setprop vendor.hw sm8550hdk
    exit 0
fi

HW=`/vendor/bin/cat /proc/device-tree/compatible | /vendor/bin/grep sm8550-qrd`
if [ -n "${HW}" ]; then
    setprop vendor.hw sm8550qrd
    exit 0
fi

HW=`/vendor/bin/cat /proc/device-tree/compatible | /vendor/bin/grep sm8650-qrd`
if [ -n "${HW}" ]; then
    setprop vendor.hw sm8650qrd
    exit 0
fi

Messung
CHZG
100100100100

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,137
#Domains=864,038