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

Fix mount_shares fail on double start

parent 9450dd35
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
#!/bin/bash
[ `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