summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-10-09 16:50:22 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-10-09 17:40:04 +0800
commitab7076882bc49d895209bf0ecb84e4003e034dd9 (patch)
tree5c53827524b6373f7423ab3bdf1dec4646ac3369
parent1c1f5e06ba16a383331a5756aa856daba8169ed8 (diff)
downloadtalos-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-udhcpc2
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)
OpenPOWER on IntegriCloud