diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-10-09 16:50:22 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-10-09 17:40:04 +0800 |
commit | ab7076882bc49d895209bf0ecb84e4003e034dd9 (patch) | |
tree | 5c53827524b6373f7423ab3bdf1dec4646ac3369 | |
parent | 1c1f5e06ba16a383331a5756aa856daba8169ed8 (diff) | |
download | talos-petitboot-ab7076882bc49d895209bf0ecb84e4003e034dd9.tar.gz talos-petitboot-ab7076882bc49d895209bf0ecb84e4003e034dd9.zip |
utils/pb-udhcp: Don't add a new option on renew
Otherwise we'll keep collecting new options every $lease_time period.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r-- | utils/pb-udhcpc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/pb-udhcpc b/utils/pb-udhcpc index bac16da..dd291b9 100644 --- a/utils/pb-udhcpc +++ b/utils/pb-udhcpc @@ -107,7 +107,7 @@ pb_remove () { } case "$1" in -bound | renew) +bound) pb_add ;; deconfig) |