/[gentoo-x86]/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20051111.ebuild
Gentoo

Diff of /net-wireless/madwifi-driver/madwifi-driver-0.1_pre20051111.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/Attic/madwifi-driver-0.1_pre20051111.ebuild,v 1.1 2005/11/13 16:34:22 genstef Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/Attic/madwifi-driver-0.1_pre20051111.ebuild,v 1.2 2005/11/13 20:33:19 genstef Exp $
4 4
5inherit linux-mod 5inherit linux-mod
6 6
7MADWIFI_SVN_REV="1325" 7MADWIFI_SVN_REV="1325"
8DESCRIPTION="Wireless driver for Atheros chipset a/b/g cards" 8DESCRIPTION="Wireless driver for Atheros chipset a/b/g cards"
64 einfo "" 64 einfo ""
65 einfo "You need to create athX using wlanconfig" 65 einfo "You need to create athX using wlanconfig"
66 einfo "Baselayout will do that with the following in /etc/conf.d/net:" 66 einfo "Baselayout will do that with the following in /etc/conf.d/net:"
67 cat <<EOF 67 cat <<EOF
68preup() { 68preup() {
69 if [ "${IFACE}" = "ath0" ]; then 69 if [ "\${IFACE}" = "ath0" ]; then
70 /sbin/wlanconfig ath0 create wlandev wifi0 wlanmode sta 70 /sbin/wlanconfig ath0 create wlandev wifi0 wlanmode sta
71 return $? 71 return \$?
72 fi 72 fi
73} 73}
74 74
75postdown() { 75postdown() {
76 if [ "${IFACE}" = "ath0" ]; then 76 if [ "\${IFACE}" = "ath0" ]; then
77 /sbin/wlanconfig ath0 destroy 77 /sbin/wlanconfig ath0 destroy
78 return $? 78 return \$?
79 fi 79 fi
80} 80}
81EOF 81EOF
82} 82}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20