MythTV  master
Public Member Functions | Static Public Attributes | List of all members
hardwareprofile.os_detect.get_os_info Class Reference
Inheritance diagram for hardwareprofile.os_detect.get_os_info:
[legend]
Collaboration diagram for hardwareprofile.os_detect.get_os_info:
[legend]

Public Member Functions

def windows (self)
 
def archlinux (self, text)
 
def auroxlinux (self, text)
 
def ubuntu (self, text)
 
def suselinux (self, text)
 
def freebsd (self, OS, version)
 
def OSX (self, OS, version)
 
def linuxstandardbase (self)
 
def Linux (self, OS, version)
 
- Public Member Functions inherited from hardwareprofile.os_detect.OSInfoType
def __new__ (mcs, name, bases, attrs)
 
def __call__ (cls)
 

Static Public Attributes

 blag_linux = OSWithFile('/etc/blag-release')
 
 mythvantage = OSWithFile('/etc/mythvantage-release')
 
 knoppmyth = OSWithFile('/etc/KnoppMyth-version')
 
 linhes = OSWithFile('/etc/LinHES-release')
 
 mythdora = OSWithFile('/etc/mythdora-release')
 
 conectiva = OSWithFile('/etc/conectiva-release')
 
 debian = OSWithFile('/etc/debian_release')
 
 debian2 = OSWithFile('/etc/debian_version')
 
 fedora = OSWithFile('/etc/fedora-release')
 
 gentoo = OSWithFile('/etc/gentoo-release')
 
 lfsfile = OSWithFile('/etc/lfs-release')
 
 mandrake = OSWithFile('/etc/mandrake-release')
 
 mandriva = OSWithFile('/etc/mandriva-release')
 
 pardus = OSWithFile('/etc/pardus-release')
 
 slackware = OSWithFile('/etc/slackware-release')
 
 solaris = OSWithFile('/etc/release')
 
 sunjds = OSWithFile('/etc/sun-release')
 
 pldlinux = OSWithFile('/etc/pld-release')
 
 yellowdog = OSWithFile('/etc/yellowdog-release')
 
 redhat = OSWithFile('/etc/redhat-release')
 

Detailed Description

Definition at line 190 of file os_detect.py.

Member Function Documentation

◆ windows()

def hardwareprofile.os_detect.get_os_info.windows (   self)

Definition at line 192 of file os_detect.py.

◆ archlinux()

def hardwareprofile.os_detect.get_os_info.archlinux (   self,
  text 
)

Definition at line 212 of file os_detect.py.

◆ auroxlinux()

def hardwareprofile.os_detect.get_os_info.auroxlinux (   self,
  text 
)

Definition at line 216 of file os_detect.py.

◆ ubuntu()

def hardwareprofile.os_detect.get_os_info.ubuntu (   self,
  text 
)

Definition at line 223 of file os_detect.py.

◆ suselinux()

def hardwareprofile.os_detect.get_os_info.suselinux (   self,
  text 
)

Definition at line 249 of file os_detect.py.

◆ freebsd()

def hardwareprofile.os_detect.get_os_info.freebsd (   self,
  OS,
  version 
)

Definition at line 258 of file os_detect.py.

◆ OSX()

def hardwareprofile.os_detect.get_os_info.OSX (   self,
  OS,
  version 
)

Definition at line 264 of file os_detect.py.

◆ linuxstandardbase()

def hardwareprofile.os_detect.get_os_info.linuxstandardbase (   self)

Definition at line 271 of file os_detect.py.

◆ Linux()

def hardwareprofile.os_detect.get_os_info.Linux (   self,
  OS,
  version 
)

Definition at line 287 of file os_detect.py.

Member Data Documentation

◆ blag_linux

hardwareprofile.os_detect.get_os_info.blag_linux = OSWithFile('/etc/blag-release')
static

Definition at line 205 of file os_detect.py.

◆ mythvantage

hardwareprofile.os_detect.get_os_info.mythvantage = OSWithFile('/etc/mythvantage-release')
static

Definition at line 206 of file os_detect.py.

◆ knoppmyth

hardwareprofile.os_detect.get_os_info.knoppmyth = OSWithFile('/etc/KnoppMyth-version')
static

Definition at line 207 of file os_detect.py.

◆ linhes

hardwareprofile.os_detect.get_os_info.linhes = OSWithFile('/etc/LinHES-release')
static

Definition at line 208 of file os_detect.py.

◆ mythdora

hardwareprofile.os_detect.get_os_info.mythdora = OSWithFile('/etc/mythdora-release')
static

Definition at line 209 of file os_detect.py.

◆ conectiva

hardwareprofile.os_detect.get_os_info.conectiva = OSWithFile('/etc/conectiva-release')
static

Definition at line 219 of file os_detect.py.

◆ debian

hardwareprofile.os_detect.get_os_info.debian = OSWithFile('/etc/debian_release')
static

Definition at line 220 of file os_detect.py.

◆ debian2

hardwareprofile.os_detect.get_os_info.debian2 = OSWithFile('/etc/debian_version')
static

Definition at line 236 of file os_detect.py.

◆ fedora

hardwareprofile.os_detect.get_os_info.fedora = OSWithFile('/etc/fedora-release')
static

Definition at line 237 of file os_detect.py.

◆ gentoo

hardwareprofile.os_detect.get_os_info.gentoo = OSWithFile('/etc/gentoo-release')
static

Definition at line 238 of file os_detect.py.

◆ lfsfile

hardwareprofile.os_detect.get_os_info.lfsfile = OSWithFile('/etc/lfs-release')
static

Definition at line 239 of file os_detect.py.

◆ mandrake

hardwareprofile.os_detect.get_os_info.mandrake = OSWithFile('/etc/mandrake-release')
static

Definition at line 240 of file os_detect.py.

◆ mandriva

hardwareprofile.os_detect.get_os_info.mandriva = OSWithFile('/etc/mandriva-release')
static

Definition at line 241 of file os_detect.py.

◆ pardus

hardwareprofile.os_detect.get_os_info.pardus = OSWithFile('/etc/pardus-release')
static

Definition at line 242 of file os_detect.py.

◆ slackware

hardwareprofile.os_detect.get_os_info.slackware = OSWithFile('/etc/slackware-release')
static

Definition at line 243 of file os_detect.py.

◆ solaris

hardwareprofile.os_detect.get_os_info.solaris = OSWithFile('/etc/release')
static

Definition at line 244 of file os_detect.py.

◆ sunjds

hardwareprofile.os_detect.get_os_info.sunjds = OSWithFile('/etc/sun-release')
static

Definition at line 245 of file os_detect.py.

◆ pldlinux

hardwareprofile.os_detect.get_os_info.pldlinux = OSWithFile('/etc/pld-release')
static

Definition at line 246 of file os_detect.py.

◆ yellowdog

hardwareprofile.os_detect.get_os_info.yellowdog = OSWithFile('/etc/yellowdog-release')
static

Definition at line 254 of file os_detect.py.

◆ redhat

hardwareprofile.os_detect.get_os_info.redhat = OSWithFile('/etc/redhat-release')
static

Definition at line 255 of file os_detect.py.


The documentation for this class was generated from the following file: