Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maalepaaler
mp-rude
Commits
1b359166
Commit
1b359166
authored
Mar 05, 2019
by
Olav Kvittem
Browse files
bug - numeric test should be text
parent
93151fda
Changes
2
Hide whitespace changes
Inline
Side-by-side
build.sh
View file @
1b359166
...
...
@@ -8,7 +8,7 @@ apt-get update
apt-get
-y
upgrade
package
=
"mp-rude"
version
=
"1.3.
9
"
version
=
"1.3.
10
"
#version=$(git describe|perl -p -e 'chomp;s/v([^-]+)(-(\d+)-g.+)?$/\1+\3/;s/\+$//')
...
...
mp-rude/usr/share/mp-rude/start.sh
View file @
1b359166
...
...
@@ -21,7 +21,7 @@ done
# start tcpdump
IF
=
`
ip route get 158.38.62.1 | perl
-ne
'print $1 if / dev (\w+) /'
`
if
test
.
$IF
-ne
.
;
then
if
test
"
$IF
"
!=
""
;
then
/usr/sbin/tcpdump
-i
$IF
-G
86399
-W
1
-w
${
logpath
}
/icmp-%F.pcap icmp 2>
${
logpath
}
/icmp.log
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment