Changeset 10469 in hybrid


Ignore:
Timestamp:
Apr 13, 2012, 3:50:41 AM (13 years ago)
Author:
rick
Message:

This one-liner hurt the brain, but basically checks if we need to start/stop lvrouted at all.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-9.0/nanobsd/files/usr/local/sbin/check-inet-alive

    r10136 r10469  
    1212# Rick van der Zwet <info@rickvanderzwet.nl>
    1313#
     14
     15# Check if we need to check inet at all
     16. /etc/rc.subr
     17load_rc_config "lvrouted"
     18: ${lvouted_enable="NO"}
     19: ${service_ileiden="NO"}
     20: ${service_proxy="NO"}
     21(( checkyesno service_ileiden || checkyesno service_proxy ) && checkyesno lvouted_enable ) || exit 0
     22
     23
    1424
    1525TAG=`basename $0`
Note: See TracChangeset for help on using the changeset viewer.