diff options
Diffstat (limited to 'abs/core-testing/wlan-ng26-utils-svn/tmp/trunk/etc/.svn/text-base')
3 files changed, 0 insertions, 241 deletions
diff --git a/abs/core-testing/wlan-ng26-utils-svn/tmp/trunk/etc/.svn/text-base/Makefile.svn-base b/abs/core-testing/wlan-ng26-utils-svn/tmp/trunk/etc/.svn/text-base/Makefile.svn-base deleted file mode 100644 index 7d46fd2..0000000 --- a/abs/core-testing/wlan-ng26-utils-svn/tmp/trunk/etc/.svn/text-base/Makefile.svn-base +++ /dev/null @@ -1,67 +0,0 @@ -# etc/Makefile -# -# Copyright (C) 1999 AbsoluteValue Systems, Inc. All Rights Reserved. -# -------------------------------------------------------------------- -# -# linux-wlan -# -# The contents of this file are subject to the Mozilla Public -# License Version 1.1 (the "License"); you may not use this file -# except in compliance with the License. You may obtain a copy of -# the License at http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS -# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or -# implied. See the License for the specific language governing -# rights and limitations under the License. -# -# Alternatively, the contents of this file may be used under the -# terms of the GNU Public License version 2 (the "GPL"), in which -# case the provisions of the GPL are applicable instead of the -# above. If you wish to allow the use of your version of this file -# only under the terms of the GPL and not to allow others to use -# your version of this file under the MPL, indicate your decision -# by deleting the provisions above and replace them with the notice -# and other provisions required by the GPL. If you do not delete -# the provisions above, a recipient may use your version of this -# file under either the MPL or the GPL. -# -# -------------------------------------------------------------------- -# -# Inquiries regarding the linux-wlan Open Source project can be -# made directly to: -# -# AbsoluteValue Systems Inc. -# info@linux-wlan.com -# http://www.linux-wlan.com -# -# -------------------------------------------------------------------- -# -# Portions of the development of this software were funded by -# Intersil Corporation as part of PRISM(R) chipset product development. -# -# -------------------------------------------------------------------- - --include ../config.mk - -DIRS= pcmcia wlan - -all: - set -e; for d in $(DIRS); do $(MAKE) -C $$d all; done - -clean: - set -e; for d in $(DIRS); do $(MAKE) -C $$d clean; done - -install: - set -e; for d in $(DIRS); do $(MAKE) -C $$d install; done - if [ ! -d $(TARGET_ROOT_ON_HOST)$(RC_DIR)/init.d ]; then \ - mkdir -p $(TARGET_ROOT_ON_HOST)$(RC_DIR)/init.d; \ - fi; \ - cp rc.wlan $(TARGET_ROOT_ON_HOST)$(RC_DIR)/init.d/wlan; \ - chmod 755 $(TARGET_ROOT_ON_HOST)$(RC_DIR)/init.d/wlan ;\ - if [ -d $(TARGET_ROOT_ON_HOST)/etc/hotplug ]; then \ - cp wlan.agent $(TARGET_ROOT_ON_HOST)/etc/hotplug; \ - rm -f $(TARGET_ROOT_ON_HOST)/etc/hotplug/usb/prism2_usb; \ - rm -f $(TARGET_ROOT_ON_HOST)/etc/hotplug/pci/prism2_pci; \ - rm -f $(TARGET_ROOT_ON_HOST)/etc/hotplug/pci/prism2_plx; \ - fi diff --git a/abs/core-testing/wlan-ng26-utils-svn/tmp/trunk/etc/.svn/text-base/rc.wlan.svn-base b/abs/core-testing/wlan-ng26-utils-svn/tmp/trunk/etc/.svn/text-base/rc.wlan.svn-base deleted file mode 100644 index 70e0c54..0000000 --- a/abs/core-testing/wlan-ng26-utils-svn/tmp/trunk/etc/.svn/text-base/rc.wlan.svn-base +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/sh - -# rc.wlan -# -# chkconfig: 2345 9 91 -# description: Activates/Configures/Disables the devices - -if [ ! -f /etc/wlan/shared ] ; then - echo "/etc/wlan/shared not present" - exit 0 -fi - -. /etc/wlan/shared - -if [ -f /etc/init.d/functions ] ; then - . /etc/init.d/functions -fi - -usage() -{ - echo "Usage: $0 {start|stop|status|restart|reload|force-reload}" -} - - -if [ $# -lt 1 ] ; then usage ; exit 1 ; fi -action=$1 - -case "$action" in - -start) - # This will implicitly fire off wland via hotplug. - echo -n "Starting WLAN Devices: " - if ! $MODPROBE p80211; then - echo "Failed to load p80211.o." - exit 1 - fi - - # NOTE: We don't explicitly insmod the card driver here. The - # best thing to do is to specify an alias in /etc/modules.conf. - - for DEVICE in $WLAN_DEVICES; do - $MODPROBE $DEVICE - # if we don't have hotplug.. do things the old-fashioned way. - if [ $HAS_HOTPLUG = 'n' ] ; then - wlan_bring_it_up $DEVICE - fi - done - - # And hotplug will take care of the rest, namely device - # initialization and whatnot. - - if [ -f /etc/init.d/functions ] ; then - echo_success - else - echo - fi - - ;; - -stop) - echo -n "Shutting Down WLAN Devices: " - echo -n "Shutting Down WLAN Devices: " - # Do a reset on each device to make sure none of them are still - # trying to generate interrupts. - for DEVICE in $WLAN_DEVICES; do - wlan_disable $DEVICE - ifconfig $DEVICE down - $MODPROBE -r $DEVICE - done - - # remove p80211, which will implictly kill wland. - $MODPROBE -r p80211 - - if [ -f /etc/init.d/functions ] ; then - echo_success - else - echo - fi - ;; - -status) - status wland - ;; - -restart|reload|force-reload) - $0 stop - $0 start - EXITCODE=$? - ;; - - *) - usage - ;; - -esac - diff --git a/abs/core-testing/wlan-ng26-utils-svn/tmp/trunk/etc/.svn/text-base/wlan.agent.svn-base b/abs/core-testing/wlan-ng26-utils-svn/tmp/trunk/etc/.svn/text-base/wlan.agent.svn-base deleted file mode 100644 index 7cf800a..0000000 --- a/abs/core-testing/wlan-ng26-utils-svn/tmp/trunk/etc/.svn/text-base/wlan.agent.svn-base +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/bash -# -# p80211/wlan hotplug policy agent. -# -# wlan hotplug params include: -# -# ACTION=%s [register|remove|shutdown|startup|suspend|resume] -# INTERFACE=%s -# NSDNAME=%s -# - -cd /etc/hotplug -. hotplug.functions - -#DEBUG=yes export DEBUG - -if [ "$INTERFACE" = "" ]; then - mesg Bad WLAN invocation: \$INTERFACE is not set - exit 1 -fi - -if [ "$NSDNAME" = "" ]; then - mesg Bad WLAN invocation: \$NSDNAME is not set - exit 1 -fi - -debug_mesg WLAN $ACTION on $INTERFACE \($NSDNAME\) - -if [ "$NSDNAME" = "prism2_cs" ] ; then - mesg "WLAN Hotplug bypassed for pcmcia" - exit 0 -fi - -# load up the shared scripts -if [ ! -f /etc/wlan/shared ] ; then - mesg "/etc/wlan/shared not present, aborting" - exit 1 -fi - -ECHO=mesg -. /etc/wlan/shared - -case $ACTION in -'register'|'resume') - debug_mesg WLAN $INTERFACE registered. - wlan_bring_it_up $INTERFACE $WLAN_WEXT - if [ $? = 0 ] ; then - mesg WLAN $INTERFACE brought up successfully. - if [ -x /etc/wlan/pre-ifup ] ; then - # pre-ifup is presumed to call ifup if it - # wants to...it may choose to skip it. - mesg "WLAN bringing up layer 3+ with /etc/wlan/pre-ifup" - /etc/wlan/pre-ifup $INTERFACE - else - mesg "WLAN bringing up layer 3+ with /sbin/ifup" - /sbin/ifdown $INTERFACE - /sbin/ifup $INTERFACE - fi - else - mesg WLAN Could not bring up $INTERFACE - fi - # eventually invoke net.agent on $INTERFACE w/ REGISTER -;; -'remove'|'suspend') - debug_mesg WLAN $INTERFACE removed. -;; -'startup') - # kick off wland. - debug_mesg WLAN p80211 starting! -;; -'shutdown') - debug_mesg WLAN p80211 shutting down! -;; -*) - debug_mesg WLAN $ACTION event not supported - exit 1 ;; - -esac |