Skip to content

Commit

Permalink
add test, Closes: #924227
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Mar 10, 2019
1 parent 849d5cc commit e29afee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion debian/fai-server.prerm
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ case "$1" in
fi

perl -ni.bak -e "print unless m#^$FAI_CONFIGDIR\s|^$NFSROOT\s#" /etc/exports
invoke-rc.d nfs-kernel-server reload
if [ -f /etc/init.d/nfs-kernel-server ]; then
invoke-rc.d nfs-kernel-server reload
fi

rmdir $FAI_CONFIGDIR || true

Expand Down

0 comments on commit e29afee

Please sign in to comment.