mount_shares.sh 155 Bytes
Newer Older
1
#!/bin/bash
2
[ `grep -c '^//ecole-dc/' /etc/mtab` -gt 0 ] && exit 0
3 4 5 6 7
awk '/^\/\/ecole-dc/{print $2}' /etc/fstab | \
	while read dest
do
    mount $dest
done