FOrce reload mounts

parent 778be466
...@@ -7,9 +7,10 @@ do ...@@ -7,9 +7,10 @@ do
sleep 10 sleep 10
done 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 | \ awk '/^\/\/ecole-dc/{print $2}' /etc/fstab | \
while read dest while read dest
do do
umount -f $dest
mount $dest mount $dest
done done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment