diff options
Diffstat (limited to 'z-distfiles/scripts-gw-1.1/tripUpdate')
-rwxr-xr-x | z-distfiles/scripts-gw-1.1/tripUpdate | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/z-distfiles/scripts-gw-1.1/tripUpdate b/z-distfiles/scripts-gw-1.1/tripUpdate new file mode 100755 index 0000000..3eb69e8 --- /dev/null +++ b/z-distfiles/scripts-gw-1.1/tripUpdate @@ -0,0 +1,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" |