nsbin/smbmessage
Nico Schottelius df2daf524d init
Signed-off-by: Nico Schottelius <nico@manager.schottelius.org>
2017-07-19 17:15:41 +02:00

10 lines
163 B
Text

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