Skip to content

Commit

Permalink
Update IPTRB.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
drordas authored Apr 23, 2019
1 parent 1acaa4c commit a9064a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions IPTRB.sh
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#!/bin/bash

if [ "$(which tcpdump)" -eq "" ]
if [ "$(which tcpdump)" == "" ]
then
echo "Please install tcpdump package. i.e."
echo "apt-get install tcpdump"
exit
fi

if [ "$(which iptables)" -eq "" ]
if [ "$(which iptables)" == "" ]
then
echo "Your system does not support iptables"
exit
fi

if [ test "$(which dialog)" -eq "" ]
if [ test "$(which dialog)" == "" ]
then
echo "Please install dialog package. i.e."
echo "apt-get install dialog"
Expand Down

0 comments on commit a9064a6

Please sign in to comment.