File: testcharge.sh

package info (click to toggle)
arpalert 2.0.12-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,584 kB
  • sloc: ansic: 4,456; sh: 517; makefile: 116; perl: 35
file content (8 lines) | stat: -rwxr-xr-x 89 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
#!/bin/bash
i="0";
while [ $i -lt $2 ]
do
	i=`expr $i + 1`
	arp -d $1
	ping -c 1 $1
done