/[baselayout]/trunk/net-scripts/net.modules.d/helpers.d/dhcp-state
Gentoo

Diff of /trunk/net-scripts/net.modules.d/helpers.d/dhcp-state

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1752 Revision 1753
10[[ -e ${conf} ]] && source "${conf}" 10[[ -e ${conf} ]] && source "${conf}"
11 11
12service="net.${interface}" 12service="net.${interface}"
13 13
14if [[ ${action} != "up" ]]; then 14if [[ ${action} != "up" ]]; then
15 if service_starting "${service}" || service_started "${service}" ; then 15 service_started "${service}" && mark_service_inactive "${service}"
16 mark_service_inactive "${service}"
17 fi
18 remove_state "${interface}" false 16 remove_state "${interface}" false
19else 17else
20 ! service_stopping "${service}" && mark_service_started "${service}" 18 ! service_stopping "${service}" && mark_service_started "${service}"
21fi 19fi
22 20

Legend:
Removed from v.1752  
changed lines
  Added in v.1753

  ViewVC Help
Powered by ViewVC 1.1.20