diff options
Diffstat (limited to 'meta/recipes-bsp/orinoco/orinoco-conf_1.0.bb')
-rw-r--r-- | meta/recipes-bsp/orinoco/orinoco-conf_1.0.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-bsp/orinoco/orinoco-conf_1.0.bb b/meta/recipes-bsp/orinoco/orinoco-conf_1.0.bb new file mode 100644 index 0000000000..89fe1df28f --- /dev/null +++ b/meta/recipes-bsp/orinoco/orinoco-conf_1.0.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | DESCRIPTION = "PCMCIA-cs configuration files for Hermes (Orinoco) wireless LAN cards" | ||
2 | SECTION = "kernel/modules" | ||
3 | PRIORITY = "optional" | ||
4 | LICENSE = "GPL" | ||
5 | RDEPENDS = "update-modules" | ||
6 | PACKAGE_ARCH = "all" | ||
7 | PR = "r4" | ||
8 | |||
9 | SRC_URI = "file://orinoco_cs.conf" | ||
10 | |||
11 | do_install() { | ||
12 | install -d ${D}${sysconfdir}/modutils | ||
13 | install -m 0644 ${WORKDIR}/orinoco_cs.conf ${D}${sysconfdir}/modutils/ | ||
14 | } | ||
15 | |||
16 | pkg_postinst () { | ||
17 | if [ -n "$D" ]; then | ||
18 | exit 1 | ||
19 | fi | ||
20 | update-modules || true | ||
21 | } | ||
22 | |||
23 | pkg_postrm () { | ||
24 | update-modules || true | ||
25 | } | ||