diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2008-07-28 10:58:01 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2008-07-28 10:58:01 +0000 |
| commit | c900a62b068cf1f583b8936aa0dae18c9683b461 (patch) | |
| tree | ec344914b5e677ca19b0d09f008e8d93c6cd3e4b /lib/python/Components/Harddisk.py | |
| parent | cd019e4b226fc51bfb11d113072dda3ba6013b13 (diff) | |
| download | enigma2-c900a62b068cf1f583b8936aa0dae18c9683b461.tar.gz enigma2-c900a62b068cf1f583b8936aa0dae18c9683b461.zip | |
set hdd standby value for all hdds (not working on hotplug devices,
plugged in while e2 is running)
Diffstat (limited to 'lib/python/Components/Harddisk.py')
| -rw-r--r-- | lib/python/Components/Harddisk.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/python/Components/Harddisk.py b/lib/python/Components/Harddisk.py index 9c695a23..dfc262d8 100644 --- a/lib/python/Components/Harddisk.py +++ b/lib/python/Components/Harddisk.py @@ -203,6 +203,12 @@ class Harddisk: return -3 return 0 + + def getDeviceDir(self): + return self.devidex + + def getDeviceName(self): + return self.getDeviceDir() + "disc" class Partition: def __init__(self, mountpoint, description = "", force_mounted = False): |
