summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-03-06 23:13:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-03-06 23:13:22 +0000
commitcab195d756d2c740385402de7e1cbf67e428f393 (patch)
tree5f5a6fdd0075e3af85c181592d367bbed9c9d27b
parent2f651a041b22b9b1dbd559f537dd504d9067888b (diff)
downloaddrakx-cab195d756d2c740385402de7e1cbf67e428f393.tar
drakx-cab195d756d2c740385402de7e1cbf67e428f393.tar.gz
drakx-cab195d756d2c740385402de7e1cbf67e428f393.tar.bz2
drakx-cab195d756d2c740385402de7e1cbf67e428f393.tar.xz
drakx-cab195d756d2c740385402de7e1cbf67e428f393.zip
(nfs_exports::update_server): ensure portmap is running
-rwxr-xr-xperl-install/standalone/fileshareset1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/fileshareset b/perl-install/standalone/fileshareset
index d74930e35..79543af50 100755
--- a/perl-install/standalone/fileshareset
+++ b/perl-install/standalone/fileshareset
@@ -259,6 +259,7 @@ sub update_server {
if (system('/sbin/pidof rpc.mountd >/dev/null') != 0 ||
system('/sbin/pidof nfsd >/dev/null') != 0) {
# trying to start the server...
+ system('/etc/init.d/portmap start') if system('/etc/init.d/portmap status') != 0;
system('/etc/init.d/nfs', $_) foreach 'stop', 'start';
}
exit 0;