diff options
author | Thomas Orgis | 2007-03-09 10:32:39 +0100 |
---|---|---|
committer | Jeremy Blosser | 2007-03-10 22:54:52 -0600 |
commit | 178784edcfde7f8484a94b1c932c9e52c1cda2fb (patch) | |
tree | 6167a6b733eadb5989e52a434618a087d747e408 | |
parent | 773e310221c3e9fbf937ba2f636112ccc2824dd8 (diff) |
ifdown was broken with bash 3.2; now it really shuts down dhcp on a dynamic interface
(cherry picked from commit c33baa51ca6d9a87b69c84f7cb957b412541cf60)
-rwxr-xr-x | net/net-tools/DETAILS | 2 | ||||
-rw-r--r-- | net/net-tools/HISTORY | 4 | ||||
-rw-r--r-- | net/net-tools/ifdown | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/net/net-tools/DETAILS b/net/net-tools/DETAILS index 0965cbd0b8..d3d369ba0f 100755 --- a/net/net-tools/DETAILS +++ b/net/net-tools/DETAILS @@ -4,7 +4,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION SOURCE_URL[0]=http://www.tazenda.demon.co.uk/phil/net-tools/$SOURCE SOURCE_HASH=sha512:8e1ae9bca726ad7d795a06c58388f9e11c1d617d94eebb9ed18bd11e5f34c6541e1ffe631706c407996db86e78df6e5cf1968a2d90b242b473596fda3b6d1eae - PATCHLEVEL=7 + PATCHLEVEL=8 LICENSE[0]=GPL WEB_SITE=http://www.tazenda.demon.co.uk/phil/net-tools ENTERED=20010922 diff --git a/net/net-tools/HISTORY b/net/net-tools/HISTORY index 686473bb85..e4dfe627a7 100644 --- a/net/net-tools/HISTORY +++ b/net/net-tools/HISTORY @@ -1,3 +1,7 @@ +2007-03-09 Thomas Orgis <sobukus@sourcemage.org> + * ifdown, DETAILS: fix ifdown to work with bash 3.2 + (no quoting of regex pattern), PATCHLEVEL++ + 2007-02-17 Pol Vinogradov <vin.public@gmail.com> * BUILD: added gettext stuff handling * CONFIGURE: removed GETTEXT query, added missing && diff --git a/net/net-tools/ifdown b/net/net-tools/ifdown index 57526ee200..7ae0aaa431 100644 --- a/net/net-tools/ifdown +++ b/net/net-tools/ifdown @@ -17,7 +17,7 @@ exists_in_text() _do_device_down() { - if [[ "$MODE" =~ "^dynamic" ]]; then + if [[ "$MODE" =~ ^dynamic ]]; then echo "Stopping dhcpcd on $DEV ..." dhcpcd -k $DEV && sleep 2 |