diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-12-03 16:37:52 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-12-03 16:37:52 +0100 |
| commit | d6a27dd3d6f51434d5dce98477be2722b91450e3 (patch) | |
| tree | 759d194436f9ca5c0e82ec4f3597985f4488ba9d /lib/python/Components/SystemInfo.py | |
| parent | e9272c492c7a3c7fd8a1225a4baa6bee2a02eea8 (diff) | |
| download | enigma2-d6a27dd3d6f51434d5dce98477be2722b91450e3.tar.gz enigma2-d6a27dd3d6f51434d5dce98477be2722b91450e3.zip | |
Components/SystemInfo.py: add new SystemInfo entry "DeepstandbySupport"
Diffstat (limited to 'lib/python/Components/SystemInfo.py')
| -rw-r--r-- | lib/python/Components/SystemInfo.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/Components/SystemInfo.py b/lib/python/Components/SystemInfo.py index d2b405a2..f9c4065f 100644 --- a/lib/python/Components/SystemInfo.py +++ b/lib/python/Components/SystemInfo.py @@ -1,5 +1,6 @@ from enigma import eDVBResourceManager from Tools.Directories import fileExists +from Tools.HardwareInfo import HardwareInfo SystemInfo = { } @@ -27,3 +28,4 @@ def countFrontpanelLEDs(): SystemInfo["NumFrontpanelLEDs"] = countFrontpanelLEDs() SystemInfo["FrontpanelDisplay"] = fileExists("/dev/dbox/oled0") or fileExists("/dev/dbox/lcd0") SystemInfo["FrontpanelDisplayGrayscale"] = fileExists("/dev/dbox/oled0") +SystemInfo["DeepstandbySupport"] = HardwareInfo().get_device_name() != "dm800" |
