Commit 33a9a5fe authored by Leigh B. Stoller's avatar Leigh B. Stoller

Remove backup sfs_users files when making new image.

parent 4204bdf8
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# All rights reserved.
#
use English;
......@@ -164,6 +164,7 @@ system("rm -rf /var/backups/*");
print "Removing SFS files ...\n";
if (-f $SFSUSERS) {
system("rm -f $SFSUSERS ${SFSUSERS}.pub");
system("rm -f $SFSUSERS.old ${SFSUSERS}.pub.old");
}
if (-f $SFSHOSTKEY) {
system("rm -f $SFSHOSTKEY");
......
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# All rights reserved.
#
use English;
......@@ -146,6 +146,7 @@ system("rm -rf /tmp/* /tmp/.??*");
print "Removing SFS files ...\n";
if (-f $SFSUSERS) {
system("rm -f $SFSUSERS ${SFSUSERS}.pub");
system("rm -f $SFSUSERS.old ${SFSUSERS}.pub.old");
}
if (-f $SFSHOSTKEY) {
system("rm -f $SFSHOSTKEY");
......
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