merge 572008 572013 tag 572008 + confirmed kthxbye Jeff King wrote: > My /bin/sh is dash. Running udhcpc yields: > > $ sudo udhcpc -fi wlan0 > udhcpc (v1.15.3) started > Sending discover... > Sending select for 10.0.0.7... > Lease of 10.0.0.7 obtained, lease time 864000 > /usr/share/udhcpc/default.script: Resetting default routes > SIOCDELRT: No such process > /usr/share/udhcpc/default.script: 62: arithmetic expression: expecting > primary: "metric++" > > The problem is that dash does not understand arithmetic increment, like > $((metric++)). The attached patch uses metric=$((metric+1)) instead.
Hehe, I just reported the same bug against that code I added to the package, too, just a few minutes later. Merged the two bugs. Regards, Axel -- ,''`. | Axel Beckert <a...@debian.org>, http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100228222643.gx1...@sym.noone.org