Ignore:
Timestamp:
May 3, 2017, 11:27:12 AM (16 months ago)
Author:
bruno
Message:

Adds preliminary DRBD support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi/rootfs/usr/sbin/start-netfs

    r3452 r3661  
    128128    fi
    129129
    130     # ping server helps waking interface up
    131     LogIt "INFO: Pinging Remote server..."
     130    # ping gateway helps waking interface up
     131    LogIt "INFO: Pinging Gateway $ipgateway..."
     132    ping -c $ipcount $ipgateway
     133
     134    if [ "`grep -i drbd /proc/cmdline`" ]; then
     135        # Time to exit for DRBD setup, the rest is for NETFS
     136        exit 0
     137    fi
     138
     139    # ping remote NETFS server
    132140    netfs_server_ipaddr=`echo $netfsmount | cut -d: -f1 | cut -d@ -f2`
     141    LogIt "INFO: Pinging Remote server $netfs_server_ipaddr ..."
    133142    ping -c $ipcount $netfs_server_ipaddr
    134143
Note: See TracChangeset for help on using the changeset viewer.