aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2007-11-22 10:24:36 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2007-11-22 10:24:36 +0000
commit820f75379afdc4e8e2434363341acd30e2a98b9d (patch)
tree40fb0ff0e7f1566b0e8f3400e706785af4f574b4
parent3473caf71fe2e0fe9cace4e7121f02dc7490ad61 (diff)
downloadrpm-helper-820f75379afdc4e8e2434363341acd30e2a98b9d.tar
rpm-helper-820f75379afdc4e8e2434363341acd30e2a98b9d.tar.gz
rpm-helper-820f75379afdc4e8e2434363341acd30e2a98b9d.tar.bz2
rpm-helper-820f75379afdc4e8e2434363341acd30e2a98b9d.tar.xz
rpm-helper-820f75379afdc4e8e2434363341acd30e2a98b9d.zip
don't handle portmap specific case in a generic service handling method
-rwxr-xr-xadd-service8
1 files changed, 0 insertions, 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