Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (13 sloc) 248 Bytes
#!/bin/bash
##
# Update the database of "pristine" file mtimes
set -eu
FS=/opt/xensource/libexec/filesystem_summarise
DATABASE=/var/xapi/files.db
start() {
rm -f ${DATABASE}
time ${FS} -db ${DATABASE}
}
case $1 in
start) start ;;
esac