Hi there,
I was a little bit annoyed that when i logged out, crytkeeper does not take care of unmounting my directories.
So I wrote a little script you should put into
/etc/gdm/PostSession/Default
The script umounts ALL existing encfs filesystems on you PC after logout of a gnome session:
for dir in "$(cat /etc/mtab | grep encfs | awk '{print $2}' | sed -e 's/40/ /g')" do echo "${dir}" | awk '{system("umount " $0)}' done
Greets Axel
Hi there,
I was a little bit annoyed that when i logged out, crytkeeper does not take care of unmounting my directories.
So I wrote a little script you should put into
/etc/gdm/ PostSession/ Default
The script umounts ALL existing encfs filesystems on you PC after logout of a gnome session:
for dir in "$(cat /etc/mtab | grep encfs | awk '{print $2}' | sed -e 's/40/ /g')"
do
echo "${dir}" | awk '{system("umount " $0)}'
done
Greets Axel