Changeset 2667
- Timestamp:
- Feb 4, 2015, 11:33:51 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/fedora/config/etc/nagios/check_afs
r2152 r2667 3 3 4 4 if [ $# -ge 1 ]; then 5 CHECKS=`/usr/bin/fs checks -cell "$1" -fast` 5 CHECKS="$( 6 /usr/bin/fs checks -cell "$1" -fast && 7 cd "/afs/$1" && 8 /bin/dash -c '[ "$(pwd -P)" ]' 2>&1 9 )" 6 10 else 7 11 CHECKS=`/usr/bin/fs checks -all -fast`
Note: See TracChangeset
for help on using the changeset viewer.