udhcpc: tweak math shell style with the metric var
authorMike Frysinger <vapier@gentoo.org>
Wed, 27 Feb 2013 06:05:34 +0000 (01:05 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 27 Feb 2013 06:05:34 +0000 (01:05 -0500)
commit9fed24c031a885264a9249eed3b6c654c32ce139
tree7fde7df9f214ca1e978af8059487d8ef10a782be
parent39b8fb41c50e6ee0aaca81cde2a4dec98d45ef9a
udhcpc: tweak math shell style with the metric var

Some shells (like dash) are lame and omit the POSIX increment/decrement
feature (because it is listed as optional).  Tweak the shell script to
work in all POSIX variants.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
examples/udhcp/simple.script