#!/bin/sh /etc/rc.common
START=98

start () {
#	 sleep 10
	 /etc/config.wireless
	 sleep 2
	 /etc/runSmesh
	 }
	 
stop () {
	wlanconfig ath1 destroy
	ps ax > /tmp/smeshpid
	PID1=`awk '/smesh_proxy/ {print \$1}' /tmp/smeshpid`
	PID2=`awk '/spines/ {print \$1}' /tmp/smeshpid`
	kill -9 $PID1
	kill -9 $PID2
	rm /tmp/smeshpid
	}
