#!/bin/sh logger -p daemon.info "btnet-server[$$]: Machine $2 is connected to our net inetface $1" if [ -z "$PAN_BRIDGE" ]; then logger -p daemon.error "btnet-client[$#]: PAN_BRIDGE variable is absent. Is pand started from bluenet script?" exit 1 fi brctl add $PAN_BRIDGE $1 ifconfig $1 0.0.0.0