Skip to content

Commit

Permalink
Merge pull request #13 from grazzolini/develop
Browse files Browse the repository at this point in the history
netconf_hook: Add handling of the local interface
  • Loading branch information
grazzolini authored Apr 12, 2019
2 parents 38ec612 + 6a2a139 commit 8962d61
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions netconf_hook
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ run_hook ()

fi

# set link up for lo
/sbin/ip link set up lo
}

run_cleanuphook ()
Expand All @@ -91,4 +93,7 @@ run_cleanuphook ()
/sbin/ip addr flush dev "$device"
/sbin/ip link set down "$device"
done

# set ip link down for lo
/sbin/ip link set down lo
}

0 comments on commit 8962d61

Please sign in to comment.