Commit 3ca77743 authored by Olav Kvittem's avatar Olav Kvittem
Browse files

choice /usr/local/sbin/get-icmp.sh

parent 953c90bc
Pipeline #48955 passed with stages
in 52 seconds
......@@ -5,7 +5,12 @@ source $(dirname "${BASH_SOURCE[0]}")/../etc/start.cfg
dato=`date +%T`
log=${logpath}/${date}
sudo $root/bin/get-icmp.sh > ${log}/icmp-$dato.pcap 2> ${log}/icmp.log
if test -e /usr/local/sbin/get-icmp.sh; then
GET_ICMP=/usr/local/sbin/get-icmp.sh
else
GET_ICMP=$root/bin/get-icmp.sh
fi
sudo $GET_ICMP > ${log}/icmp-$dato.pcap 2> ${log}/icmp.log
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment