X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=pl_mop.sh;h=a6b575264ed7dc924cb15a593e25715704cefffb;hb=9fc1aba408f9da5a9a7b30a7687d3867da2a5336;hp=6fabb7390d34308bfeef3eac05ce18c032258d02;hpb=bce116a4098be5cb5edd2fc0805cee76d5b9e96a;p=mom.git diff --git a/pl_mop.sh b/pl_mop.sh index 6fabb73..a6b5752 100755 --- a/pl_mop.sh +++ b/pl_mop.sh @@ -5,7 +5,7 @@ # Mark Huang # 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 @@ -46,7 +46,7 @@ fix_etc_shadow() { # keep essential services running restart_services() { - for service in autofs sshd pl_sshd pl_mom pl_nm proper ; do + for service in sshd pl_sshd pl_mom pl_nm proper ; do echo "* Checking $service" status=$(service $service status) if [ $? -ne 0 ] || echo $status 2>&1 | grep -q stopped ; then @@ -108,9 +108,6 @@ fix_vservers() { # kill all processes running in slice contexts vkillall - # stop the key automounter - service autofs stop - # stop vcached pidfile=/var/run/vcached.pid if [ -r "$pidfile" ] ; then @@ -139,9 +136,6 @@ fix_vservers() { # allow vcached to run again rm -f $pidfile - - # restart the key automounter - service autofs start } kill_duplicate_ssh() {