cohoe / workstation

Ansible scripts to configure desktop workstations.
4 stars 2 forks source link

Determine if nas_keepalive is really still necessary #11

Closed cohoe closed 6 years ago

cohoe commented 6 years ago
#*/15 * * * * /bin/bash /home/grant/Projects/priv/nas_keepalive.sh
for fsmnt in $(sudo cat /etc/fstab | egrep -e "^[^#]" | grep ##NASMOUNT## | awk '{print $2}'); do
    /bin/ls "$fsmnt" > /dev/null
done
cohoe commented 6 years ago

Doesn't appear to be.