nsbin/smbmessage-classc
Nico Schottelius d3c6e29902 Initial commit
2006-07-20 09:54:37 +02:00

10 lines
163 B
Text
Executable file

BASE=192.168.0
MESSAGE="Network Failure"
SMBCLIENT="smbclient -n NONE -M"
i=1
while [ $i -lt 255 ]; do
echo $MESSAGE | $SMBCLIENT "$BASE"."$i"
i=$[$i+1]
done