From 9fc1aba408f9da5a9a7b30a7687d3867da2a5336 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Thu, 1 Dec 2005 23:40:18 +0000 Subject: [PATCH] - merge revision 1.3 date: 2005/12/01 23:38:58; author: mlhuang; state: Exp; lines: +2 -8 - no need to restart autofs --- pl_mop.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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() { -- 2.43.0