summaryrefslogtreecommitdiffstats
path: root/config-db
diff options
context:
space:
mode:
authorAlexander Hoppe2009-08-26 15:37:49 +0200
committerAlexander Hoppe2009-08-26 15:37:49 +0200
commit252535d478f27f05153edc13d1afae91abb7a374 (patch)
tree76655235a06ad451b791060550c0dfb681f6fc2d /config-db
parentFix for suse local kernel version mismatch (diff)
downloadcore-252535d478f27f05153edc13d1afae91abb7a374.tar.gz
core-252535d478f27f05153edc13d1afae91abb7a374.tar.xz
core-252535d478f27f05153edc13d1afae91abb7a374.zip
function for firmwares to be copied to /lib/firmware and attribute ramfs_firmmods
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3133 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db')
-rw-r--r--config-db/OpenSLX/AttributeRoster.pm10
-rw-r--r--config-db/OpenSLX/DBSchema.pm1
2 files changed, 11 insertions, 0 deletions
diff --git a/config-db/OpenSLX/AttributeRoster.pm b/config-db/OpenSLX/AttributeRoster.pm
index f039d20e..8e810306 100644
--- a/config-db/OpenSLX/AttributeRoster.pm
+++ b/config-db/OpenSLX/AttributeRoster.pm
@@ -171,6 +171,16 @@ sub _init
content_descr => 'a space-separated list of NIC modules',
default => 'forcedeth e1000 e100 tg3 via-rhine r8169 pcnet32',
},
+ 'ramfs_firmmods' => {
+ applies_to_systems => 1,
+ applies_to_clients => 0,
+ description => unshiftHereDoc(<<' End-of-Here'),
+ list of wifi network card modules to load
+ End-of-Here
+ content_regex => qr{^\s*([-\w]+\s*)*$},
+ content_descr => 'a space-separated list of firmware modules',
+ default => 'tigon e100',
+ },
'hw_local_disk' => {
applies_to_systems => 1,
applies_to_clients => 1,
diff --git a/config-db/OpenSLX/DBSchema.pm b/config-db/OpenSLX/DBSchema.pm
index d3e7573b..f913b3ba 100644
--- a/config-db/OpenSLX/DBSchema.pm
+++ b/config-db/OpenSLX/DBSchema.pm
@@ -380,6 +380,7 @@ sub _schemaUpgradeDBFrom
'attr_ramfs_fsmods',
'attr_ramfs_miscmods',
'attr_ramfs_nicmods',
+ 'attr_ramfs_firmmods',
'attr_ramfs_screen',
'attr_sane_scanner',
'attr_scratch',