#!/bin/sh
[ -e /tmp/tcpdump ] && {
    echo "tcpdump already exist!!!"
    exit 1
}
. /sbin/vigorcode.sh
wget "$PKG_SERVER"tcpdump -O /tmp/tcpdump
chmod 755 /tmp/tcpdump || echo "tcpdump change mode error"
ln -s /tmp/tcpdump /sbin/tcpdump

[ -e /tmp/libpcap.so.0.9.8 ] && {
    echo "libpcap.so.0.9.8 already exist!!!"
    exit 1
}
wget "$PKG_SERVER"libpcap.so.0.9.8 -O /tmp/libpcap.so.0.9.8
ln -s /tmp/libpcap.so.0.9.8 /usr/lib/libpcap.so.0.9.8
ln -s /usr/lib/libpcap.so.0.9.8 /usr/lib/libpcap.so.0.9
