summaryrefslogtreecommitdiff
blob: 3eb69e84096b3d6a2d20f71f0704139571318809 (plain)
1
2
3
4
5
#!/bin/bash
DIR=/var/lib/tripwire/report
HOST=`hostname -s`
LAST_REPORT=`ls -1t $DIR/$HOST-*.twr | head -n 1`
tripwire --update --twrfile "$LAST_REPORT"