Skip to content

Commit

Permalink
[Change] added 2> /dev/null to internals.conf calls to which to hide …
Browse files Browse the repository at this point in the history
…stderr output for binaries that can not be found
  • Loading branch information
rfxn committed Aug 1, 2014
1 parent b051ffd commit 16d8422
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions files/internals/internals.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ VER="1.7.5"
APPN="apf"

ifconfig=`which ifconfig`
ip=`which ip`
HOST=`which host`
IPT=`which iptables`
IP6T=`which ip6tables`
MPB=`which modprobe`
LSM=`which /sbin/lsmod`
RMM=`which /sbin/rmmod`
IPTS=`which iptables-save`
IPTR=`which iptables-restore`
DIFF=`which diff`
WGET=`which wget`
MD5=`which md5sum`
UNAME=`which uname`
ip=`which ip 2> /dev/null`
HOST=`which host 2> /dev/null`
IPT=`which iptables 2> /dev/null`
IP6T=`which ip6tables 2> /dev/null`
MPB=`which modprobe 2> /dev/null`
LSM=`which /sbin/lsmod 2> /dev/null`
RMM=`which /sbin/rmmod 2> /dev/null`
IPTS=`which iptables-save 2> /dev/null`
IPTR=`which iptables-restore 2> /dev/null`
DIFF=`which diff 2> /dev/null`
WGET=`which wget 2> /dev/null`
MD5=`which md5sum 2> /dev/null`
UNAME=`which uname 2> /dev/null`

## LEGACY VARIABLE DEFINITIONS
if [ -z "$IFACE_UNTRUSTED" ] && [ "$IFACE_IN" ]; then
Expand Down

0 comments on commit 16d8422

Please sign in to comment.