diff options
author | James Rayner <james@archlinux.org> | 2008-08-05 17:00:28 +0200 |
---|---|---|
committer | James Rayner <james@archlinux.org> | 2008-08-05 17:00:28 +0200 |
commit | bbc8c444c204fdce496468190a1f5ec4931c4e53 (patch) | |
tree | 2ca79efc2f5169eefd8b1f0d65aeb4ba0893ea1c | |
parent | 01cee06607cbea5aaffbb0c5216cff3a17a3f7b4 (diff) | |
download | netctl-bbc8c444c204fdce496468190a1f5ec4931c4e53.tar.gz netctl-bbc8c444c204fdce496468190a1f5ec4931c4e53.tar.xz |
Take interface down after disconnecting. Quirk 'nodown' to disable behaviour FS#10708
-rw-r--r-- | src/ethernet.subr | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ethernet.subr b/src/ethernet.subr index 12da9b5..fd46ec3 100644 --- a/src/ethernet.subr +++ b/src/ethernet.subr @@ -107,6 +107,9 @@ ethernet_down() { ;; esac ifconfig $INTERFACE 0.0.0.0 + + quirk "nodown" || ifconfig $INTERFACE down + } ethernet_clean_scope() { |