Commit 24643324 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Do not clear te locate DB anymore (especially since we just built it

earlier in the script!).
parent dcbedd20
......@@ -27,7 +27,6 @@ my $NTPDRIFT = "/etc/ntp.drift";
my $SFSUSERS = "/etc/sfs/sfs_users";
my $SFSHOSTKEY = "/etc/sfs/sfs_host_key";
my $MOUNTINFO = "/var/db/mounttab";
my $LOCATEDB = "/var/db/locate.database";
# Turn off line buffering on output
......@@ -146,10 +145,6 @@ if (-f $NTPDRIFT) {
print "Clearing $LOCATEDB ...\n";
truncate($LOCATEDB,0) or
die("Could not truncate $LOCATEDB: $!");
print "Cleaning .pid files ...\n";
system("rm -rf $RUNDIR/*.pid");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment