Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 32431 Details for
Bug 52653
Wireless networking config/startup scripts: wireless-config-0.4.9.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
wireless-config-0.4.6.ebuild
wireless-config-0.4.6.ebuild (text/plain), 1.95 KB, created by
teedog
on 2004-05-31 22:09:31 UTC
(
hide
)
Description:
wireless-config-0.4.6.ebuild
Filename:
MIME Type:
Creator:
teedog
Created:
2004-05-31 22:09:31 UTC
Size:
1.95 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >DESCRIPTION="A script to configure wireless networking for Gentoo" >SRC_URI="http://rsm.demon.co.uk/~roy/downloads/${P}.tar.bz2" >HOMEPAGE="http://rsm.demon.co.uk/~roy/downloads.php" >KEYWORDS="~x86" >SLOT="0" >LICENSE="GPL-2" >DEPEND="net-wireless/wireless-tools > >=sys-apps/baselayout-1.8.11" >RDEPEND="${DEPEND}" >IUSE="" >RESTRICT="nomirror" > ># Test to see if /etc/conf.d/net already has a preup function >has_preup=`grep 'preup()' /etc/conf.d/net` >has_preup=${has_preup:-"no"} > >src_install() { > insopts -m0644 > insinto /etc/init.d > doins wireless.sh > > # Only root should be able to read the configuration file > # as it may contain the encryption keys to the network > insopts -m0600 > insinto /etc/conf.d > doins wireless >} > >pkg_postinst() { > echo > einfo "To complete installation, you must" > einfo "1. Update your configuration files:" > einfo " etc-update" > einfo "2. Patch your net config to load wireless:" > einfo " ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" > if [ "no" != "${has_preup}" ]; then > echo > ewarn "/etc/conf.d/net already looks like it's been patched" > ewarn "or contains a custom preup() function" > echo > fi > einfo "3. Edit the wireless configuration file to match your network" > einfo " nano /etc/conf.d/wireless" > echo > sleep 10 >} > >pkg_config() { > cat >> /etc/conf.d/net <<EOF > >########################################### ># Hook wireless into /etc/init.d/net.eth0 ># Please note, these lines should appear ># at the END of the file > >source /etc/init.d/wireless.sh > >preup() { > wireless_up \${1} > return \$? >} > >predown() { > wireless_down \${1} > return \$? >} > ># End hook >########################################### >EOF > > einfo "/etc/conf.d/net patched" > if [ "no" != "${has_preup}" ]; then > echo > ewarn "You will have to edit the file /etc/conf.d/net" > ewarn "and merge the two preup and/or predown functions together" > echo > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 52653
:
32431
|
34080
|
34346
|
34686
|
39696
|
39697