
12 Dec
2013
12 Dec
'13
11:33 a.m.
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?