Skip to content

Commit

Permalink
iperf: Install for iperf3 too
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Jul 6, 2018
1 parent cfef384 commit a520baa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions completions/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ ifquery
ifstatus
import
insmod.static
iperf3
javac
javadoc
kplayer
Expand Down
5 changes: 5 additions & 0 deletions completions/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ CLEANFILES = \
ifstatus \
import \
insmod.static \
iperf3 \
javac \
javadoc \
kplayer \
Expand Down Expand Up @@ -820,6 +821,10 @@ symlinks: $(targetdir) $(DATA)
rm -f $(targetdir)/$$file && \
$(LN_S) insmod $(targetdir)/$$file ; \
done
for file in iperf3 ; do \
rm -f $(targetdir)/$$file && \
$(LN_S) iperf $(targetdir)/$$file ; \
done
for file in javac javadoc ; do \
rm -f $(targetdir)/$$file && \
$(LN_S) java $(targetdir)/$$file ; \
Expand Down
2 changes: 1 addition & 1 deletion completions/iperf
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ _iperf()
'$( "$1" --help 2>&1 | $filter | _parse_help - )' -- "$cur" ) )
[[ $COMPREPLY == *= ]] && compopt -o nospace
} &&
complete -F _iperf iperf
complete -F _iperf iperf iperf3

# ex: filetype=sh

0 comments on commit a520baa

Please sign in to comment.