Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 183193
Collapse All | Expand All

(-)file_not_specified_in_diff (-1 / +10 lines)
Line  Link Here
0
-- /sbin/umount.crypt
0
++ /sbin/umount.crypt 2007/01/12 08:59:14
Lines 57-62 Link Here
57
    exit 1;
57
    exit 1;
58
fi;
58
fi;
59
59
60
# kill remaining user processes if we're unmounting a user's home dir
61
getent passwd | grep -e ":$1:" &> /dev/null
62
if test $? -eq 0; then
63
    lsof -t $1 | xargs kill -TERM &> /dev/null
64
    sleep 1
65
    lsof -t $1 | xargs kill -9 &> /dev/null
66
    sleep 1
67
fi
68
60
# ask cryptsetup about the underlying device
69
# ask cryptsetup about the underlying device
61
#
70
#
62
REALDEVICE=` "$CRYPTSETUP" status "$DMDEVICE" | sed -n '/device/s/[ ]*device:[ ]*//p'`;
71
REALDEVICE=` "$CRYPTSETUP" status "$DMDEVICE" | sed -n '/device/s/[ ]*device:[ ]*//p'`;

Return to bug 183193