utils/pb-udhcp: Don't add a new option on renew
authorJeremy Kerr <jk@ozlabs.org>
Wed, 9 Oct 2013 08:50:22 +0000 (16:50 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 9 Oct 2013 09:40:04 +0000 (17:40 +0800)
Otherwise we'll keep collecting new options every $lease_time period.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
utils/pb-udhcpc

index bac16dad5dc322b8c20cd0008b9dd6fdcb7c1ebe..dd291b9a0fa61441f072b2b75251abdf160056b5 100644 (file)
@@ -107,7 +107,7 @@ pb_remove () {
 }
 
 case "$1" in
-bound | renew)
+bound)
        pb_add
        ;;
 deconfig)