From: Mark Huang Date: Thu, 1 Dec 2005 23:38:58 +0000 (+0000) Subject: - no need to restart autofs X-Git-Tag: planetlab-3_3-branch-point~31 X-Git-Url: http://git.onelab.eu/?p=mom.git;a=commitdiff_plain;h=0988a5f699093125bdc61788d97dc78476f91f37 - no need to restart autofs --- diff --git a/pl_mop.sh b/pl_mop.sh index ab6c50f..2fca18b 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.1 2005/10/11 17:34:57 mlhuang Exp $ +# $Id: pl_mop.sh,v 1.2 2005/11/03 17:23:25 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() {