If it's available on your system automount (autofs) might do what you want. If it's part of your boot process remember to add a low --timeout to the mount.
http://tldp.org/HOWTO/Automount.html Edward > On 12 Dec 2013, at 22:33, Allan Duncan <[email protected]> wrote: > > I have a rc.local script that runs fine in csh, but I'd like to change > it to sh, but I've had no success at it. > > #! /usr/bin/tcsh > if `ping -w 1 -c 1 -n 192.168.1.3 | grep -o "1 packets"` == "1 packets" > mount /nfs/bulk2 > > While we are at it, is there a more elegant way of mounting the remote > partition only if that machine is on? > _______________________________________________ > luv-main mailing list > [email protected] > http://lists.luv.asn.au/listinfo/luv-main _______________________________________________ luv-main mailing list [email protected] http://lists.luv.asn.au/listinfo/luv-main
