# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2005 The Trustees of Princeton University
#
-# $Id: pl_mop.sh,v 1.2 2005/11/03 17:23:25 mlhuang Exp $
+# $Id: pl_mop.sh,v 1.3 2005/12/01 23:38:58 mlhuang Exp $
#
PATH=/sbin:/usr/sbin:$PATH
# blow away the vserver cache
rm -rf /vservers/.vcache/*
- # re-mount /vservers
- mount /vservers
+ # XXX re-mount /vservers
+ # mount /vservers
+
+ # shutdown instead to avoid clearing disk quotas
+ shutdown -r now "/vservers filesystem repaired, rebooting"
else
echo "Unable to unmount /vservers!" >&2
fi