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:
Inheritance graph
[legend]
Collaboration diagram for hardwareprofile.os_detect.get_os_info:
Collaboration graph
[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 192 of file os_detect.py.

Member Function Documentation

◆ windows()

def hardwareprofile.os_detect.get_os_info.windows (   self)

Definition at line 194 of file os_detect.py.

◆ archlinux()

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

Definition at line 214 of file os_detect.py.

◆ auroxlinux()

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

Definition at line 218 of file os_detect.py.

◆ ubuntu()

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

Definition at line 225 of file os_detect.py.

◆ suselinux()

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

Definition at line 251 of file os_detect.py.

◆ freebsd()

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

Definition at line 260 of file os_detect.py.

◆ OSX()

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

Definition at line 266 of file os_detect.py.

◆ linuxstandardbase()

def hardwareprofile.os_detect.get_os_info.linuxstandardbase (   self)

Definition at line 273 of file os_detect.py.

◆ Linux()

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

Definition at line 289 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 207 of file os_detect.py.

◆ mythvantage

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

Definition at line 208 of file os_detect.py.

◆ knoppmyth

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

Definition at line 209 of file os_detect.py.

◆ linhes

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

Definition at line 210 of file os_detect.py.

◆ mythdora

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

Definition at line 211 of file os_detect.py.

◆ conectiva

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

Definition at line 221 of file os_detect.py.

◆ debian

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

Definition at line 222 of file os_detect.py.

◆ debian2

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

Definition at line 238 of file os_detect.py.

◆ fedora

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

Definition at line 239 of file os_detect.py.

◆ gentoo

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

Definition at line 240 of file os_detect.py.

◆ lfsfile

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

Definition at line 241 of file os_detect.py.

◆ mandrake

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

Definition at line 242 of file os_detect.py.

◆ mandriva

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

Definition at line 243 of file os_detect.py.

◆ pardus

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

Definition at line 244 of file os_detect.py.

◆ slackware

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

Definition at line 245 of file os_detect.py.

◆ solaris

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

Definition at line 246 of file os_detect.py.

◆ sunjds

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

Definition at line 247 of file os_detect.py.

◆ pldlinux

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

Definition at line 248 of file os_detect.py.

◆ yellowdog

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

Definition at line 256 of file os_detect.py.

◆ redhat

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

Definition at line 257 of file os_detect.py.


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