summaryrefslogtreecommitdiffstats
path: root/installclasses/laptop.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-11-20 16:20:53 +0000
committerErik Troan <ewt@redhat.com>2000-11-20 16:20:53 +0000
commitbf5981a5ff55a10b8eb80174f467d493572f208a (patch)
tree3dfe0a8ecdb4fff0c9bb61fb677d863da3b69296 /installclasses/laptop.py
parent005d64329daf938cbf2f560ec54ed1e5f5609dc7 (diff)
downloadanaconda-bf5981a5ff55a10b8eb80174f467d493572f208a.tar.gz
anaconda-bf5981a5ff55a10b8eb80174f467d493572f208a.tar.xz
anaconda-bf5981a5ff55a10b8eb80174f467d493572f208a.zip
set as default on machines w/ pcmcia
Diffstat (limited to 'installclasses/laptop.py')
-rw-r--r--installclasses/laptop.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/installclasses/laptop.py b/installclasses/laptop.py
index 692051933..d3a572fa0 100644
--- a/installclasses/laptop.py
+++ b/installclasses/laptop.py
@@ -1,6 +1,7 @@
import workstation
from translate import N_
import os
+import pcmcia
class InstallClass(workstation.InstallClass):
name = N_("Laptop")
@@ -8,5 +9,8 @@ class InstallClass(workstation.InstallClass):
sortPriority = 5000
+ if pcmcia.pcicType():
+ default = 1
+
def __init__(self, expert):
workstation.InstallClass.__init__(self, expert)