Changeset 4986 in /cluster/svnroot


Ignore:
Timestamp:
Feb 5, 2015 11:49:22 PM (6 years ago)
Author:
skylar
Message:

adding test of DHCP server in bccd-reset-network re #893

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/skylar/bccd-3.4.0/trees/bin/bccd-reset-network

    r4956 r4986  
    120120        fatal -m "TFTP server start failed" -r ${RC}
    121121fi
     122
     123${LOGCMD} -p info "Testing DHCP server"
     124/usr/sbin/invoke-rc.d isc-dhcp-server status
     125RC=$?
     126if [ ${RC} -ne 0 ]; then
     127    sleep 15
     128    fatal -m "ISC DHCP server not running!" -r ${RC}
     129fi
Note: See TracChangeset for help on using the changeset viewer.