From 820f75379afdc4e8e2434363341acd30e2a98b9d Mon Sep 17 00:00:00 2001 From: Guillaume Rousse Date: Thu, 22 Nov 2007 10:24:36 +0000 Subject: don't handle portmap specific case in a generic service handling method --- add-service | 8 -------- 1 file changed, 8 deletions(-) diff --git a/add-service b/add-service index 2fc6bc5..5ffcbef 100755 --- a/add-service +++ b/add-service @@ -82,14 +82,6 @@ else # restart the service if already running if [ -f /var/lock/subsys/$srv ]; then /sbin/service $srv restart > /dev/null 2>/dev/null || : - # restart services that depend of portmap - if [ $srv = portmap ]; then - for s in amd autofs bootparamd clusternfs mcserv nfs nfslock ypserv ypbind yppasswdd ypxfrd; do - if [ -f /var/lock/subsys/$s ]; then - /sbin/service $s restart > /dev/null 2>/dev/null || : - fi - done - fi fi fi -- cgit v1.2.1