Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
toralf committed Oct 7, 2024
1 parent 6dc8c36 commit 3a8c984
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions metrics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,11 @@ trap 'rm -f $lockfile' INT QUIT TERM EXIT

intervall=${1:-0}
export datadir=${2:-/var/lib/node_exporter}
cd $datadir
export NICKNAME=${3:-$(grep "^Nickname " /etc/tor/torrc 2>/dev/null | awk '{ print $2 }')} # if neither given nor found then use _orport2nickname()

# check if regular iptables works or if the legacy variant is explicitly needed
cd $datadir

# check whether the regular iptables works or if the legacy variant is needed
ipt="iptables"
ip6t="ip6tables"
set +e
Expand Down

0 comments on commit 3a8c984

Please sign in to comment.