[Lunar-commits] <moonbase> nfs-utils: cleanup dangling symlinks on removal

Paul Bredbury brebs at lunar-linux.org
Sun Jan 16 09:49:52 CET 2011


commit b7052983430c5938ad21021ecfdb87a3674ab192
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Sun Jan 16 15:49:52 2011 +0700

    nfs-utils: cleanup dangling symlinks on removal
---
 filesys/nfs-utils/POST_REMOVE |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/filesys/nfs-utils/POST_REMOVE b/filesys/nfs-utils/POST_REMOVE
new file mode 100644
index 0000000..c43d23b
--- /dev/null
+++ b/filesys/nfs-utils/POST_REMOVE
@@ -0,0 +1,3 @@
+# Remove dangling symlinks
+cd /sbin &&
+rm -f mount.nfs4 umount.nfs umount.nfs4


More information about the Lunar-commits mailing list