/[baselayout]/branches/rc-scripts-1_6/net-scripts/net.modules.d/iwconfig
Gentoo

Diff of /branches/rc-scripts-1_6/net-scripts/net.modules.d/iwconfig

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

Revision 756 Revision 757
1# iwconfig module for net-scripts 1# iwconfig module for net-scripts
2# Version 1.0.5 2# Version 1.0.6
3# Copyright (c) 2004 Gentoo Foundation 3# Copyright (c) 2004 Gentoo Foundation
4# Distributed under the terms of the GNU General Public License V2 4# Distributed under the terms of the GNU General Public License V2
5# Contributed by Roy Marples (uberlord@gentoo.org) 5# Contributed by Roy Marples (uberlord@gentoo.org)
6# Many thanks to all the people in the Gentoo forums for their ideas and 6# Many thanks to all the people in the Gentoo forums for their ideas and
7# motivation for me to make this and keep on improving it 7# motivation for me to make this and keep on improving it
8 8
9# Config is loaded by essidnet now
10
11# Fix any potential localisation problems 9# Fix any potential localisation problems
12# Note that LC_ALL trumps LC_anything_else according to locale(7) 10# Note that LC_ALL trumps LC_anything_else according to locale(7)
13iwconfig() { 11iwconfig() {
14 LC_ALL=C /usr/sbin/iwconfig "$@" 12 LC_ALL=C /usr/sbin/iwconfig "$@"
15} 13}
26# void iwconfig_depend(void) 24# void iwconfig_depend(void)
27# 25#
28# Sets up the dependancies for the module 26# Sets up the dependancies for the module
29iwconfig_depend() { 27iwconfig_depend() {
30 before interface 28 before interface
31 need interface
32} 29}
33 30
34# bool iwconfig_check_installed(void) 31# bool iwconfig_check_installed(void)
35# 32#
36# Returns 1 if wireless-tools is installed, otherwise 0 33# Returns 1 if wireless-tools is installed, otherwise 0

Legend:
Removed from v.756  
changed lines
  Added in v.757

  ViewVC Help
Powered by ViewVC 1.1.20