git://git.onelab.eu
/
mom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c054496
)
* remove reference to pl_nm
author
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Wed, 14 Feb 2007 20:48:46 +0000
(20:48 +0000)
committer
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Wed, 14 Feb 2007 20:48:46 +0000
(20:48 +0000)
pl_mop.sh
patch
|
blob
|
history
diff --git
a/pl_mop.sh
b/pl_mop.sh
index
61b7a63
..
8c3757d
100755
(executable)
--- a/
pl_mop.sh
+++ b/
pl_mop.sh
@@
-5,7
+5,7
@@
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2005 The Trustees of Princeton University
#
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2005 The Trustees of Princeton University
#
-# $Id: pl_mop.sh,v 1.
6 2006/04/28 19:28:59
mlhuang Exp $
+# $Id: pl_mop.sh,v 1.
7 2006/05/09 22:26:31
mlhuang Exp $
#
PATH=/sbin:/usr/sbin:$PATH
#
PATH=/sbin:/usr/sbin:$PATH
@@
-53,7
+53,7
@@
fix_etc_shadow() {
# keep essential services running
restart_services() {
# keep essential services running
restart_services() {
- for service in sshd pl_sshd swapmon
pl_
nm proper ; do
+ for service in sshd pl_sshd swapmon nm proper ; do
echo "* Checking $service"
status=$(service $service status)
if [ $? -ne 0 ] || echo $status 2>&1 | grep -q stopped ; then
echo "* Checking $service"
status=$(service $service status)
if [ $? -ne 0 ] || echo $status 2>&1 | grep -q stopped ; then