remove the nfs share check completely from the 1.2 branch
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 14 Aug 2011 03:50:12 +0000 (13:50 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 14 Aug 2011 03:50:12 +0000 (13:50 +1000)
config/events.d/60.nfs

index ea05b1b9ee1e828be68f21d92ac0a14776a8564f..35055fbc8dfbcc6c98c40f7ac56adbf6a769082a 100755 (executable)
@@ -47,13 +47,6 @@ case "$1" in
        ;;
 
       monitor)
-       # and that its directories are available
-       [ "$CTDB_NFS_SKIP_SHARE_CHECK" = "yes" ] || {
-           exportfs | grep -v '^#' | grep '^/' |
-           sed -e 's/[[:space:]]\+[^[:space:]]*$//' |
-           ctdb_check_directories
-       } || exit $?
-
        if ctdb_service_needs_reconfigure ; then
            ctdb_service_reconfigure
            exit 0