Unverified Commit abcd1388 authored by David Beniamine's avatar David Beniamine
Browse files

FOrce reload mounts

parent 778be466
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -7,9 +7,10 @@ do
    sleep 10
done

[ `grep -c '^//ecole-dc/' /etc/mtab` -gt 0 ] && exit 0
#[ `grep -c '^//ecole-dc/' /etc/mtab` -gt 0 ] && exit 0
awk '/^\/\/ecole-dc/{print $2}' /etc/fstab | \
	while read dest
do
    umount -f $dest
    mount $dest
done