Skip to content

Commit

Permalink
Start NFS Daemon in case it isn't running after installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerim Gueney authored and Thomas Lange committed Oct 22, 2015
1 parent b928f53 commit 09c801b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bin/fai-setup
Expand Up @@ -207,7 +207,12 @@ if [ -z "$expert" ]; then
echo "Could not find the type of your nfs server. Maybe"
echo "no nfs server is installed. I can't restart it."
else
/etc/init.d/$nfsserver reload
if pidof nfsd >/dev/null
then
/etc/init.d/$nfsserver reload
else
/etc/init.d/$nfsserver restart
fi
fi
fi

Expand Down

0 comments on commit 09c801b

Please sign in to comment.