#!/bin/sh /etc/rc.common
while true
do
tcpdump -i any -W 1 -w /mnt/sda1/123/trace-%m-%d-%H-%M-%S.pcap -G 600
mv /mnt/sda1/123/*.pcap /mnt/sda1/abc/
这里显示加密, ccrypt -e -K 37sML9kxC76hBke2d17Qu4XP5Ty2iJ1gpH /mnt/sda1/abc/.pcap
mv /mnt/sda1/abc/.cpt /mnt/sda1/done/