File:  [ELWIX - Embedded LightWeight unIX -] / embedtools / etc / dwds_dn.sh
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Wed Jun 8 12:45:40 2011 UTC (12 years, 11 months ago) by misho
Branches: MAIN
CVS tags: tools3_0, tools2_9, tools2_8, tools2_7, tools2_6, tools2_5, tools2_4, tools2_3, tools2_2, tools2_1, tools2_0, tools1_2, tools1_1, TOOLS2_9, TOOLS2_8, TOOLS2_7, TOOLS2_6, TOOLS2_5, TOOLS2_4, TOOLS2_3, TOOLS2_2, TOOLS2_1, TOOLS2_0, TOOLS1_2, TOOLS1_1, TOOLS1_0, HEAD
new ver

#!/bin/sh
#
# Sample down script for DWDS bridge
#  Syntax: dwds_dn.sh <wlanX> <BSSID> [dwds_name]
#
# $Id: dwds_dn.sh,v 1.2 2011/06/08 12:45:40 misho Exp $
#

BRIDGE="bridge0"

if [ -z $1 ]; then
	echo "Not enough parameters ..."
	echo " dwds_dn.sh <wlanX> <BSSID> [dwds_name]"
	exit 1
fi
if [ -z $2 ]; then
	echo "Not enough parameters ..."
	echo " dwds_dn.sh <wlanX> <BSSID> [dwds_name]"
	exit 1
fi

#ifconfig $BRIDGE deletem $1
#ifconfig $1 down
logger -p user.debug -t "${3:-dwds}" "DWDS_DN $1 $2 $3 ... $?"

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>