#!/bin/sh
exec 1>>"/var/log/netHotPlugHandler.logs"
#set -ex
echo `date` ' Invoked udev hotplug handler for: ' $1 $2
if echo $1 | grep -iq  ^ma ; then 
	echo ' Ignoring management interface ' $1  
	exit ; 
fi  

pipe='/var/run/UdevToSfaHotPlugPipe'
if [ ! -p $pipe ]; then
 echo 'no pipe' $pipe ; exit
fi
echo $1 > $pipe

