[Fai-commit] r3901 - trunk/bin
fai-commit at lists.alioth.debian.org
fai-commit at lists.alioth.debian.org
Fri Sep 8 13:53:51 UTC 2006
Author: lange
Date: 2006-09-08 13:53:51 +0000 (Fri, 08 Sep 2006)
New Revision: 3901
Modified:
trunk/bin/fai
Log:
add trap for dirinst that umounts /proc
Modified: trunk/bin/fai
===================================================================
--- trunk/bin/fai 2006-09-08 12:21:41 UTC (rev 3900)
+++ trunk/bin/fai 2006-09-08 13:53:51 UTC (rev 3901)
@@ -242,6 +242,7 @@
if [ X$action = Xdirinst ]; then
skiptask confdir
export FAI=$FAI_CONFIGDIR
+ trap '[ -d $targetdir/proc/self ] && umount $targetdir/proc $targetdir/sys' EXIT ;
fi
mkfifo $LOGDIR/logfifo
More information about the Fai-commit
mailing list