#18411: DDNS script not working
------------------------+----------------------------------
  Reporter:  anonymous  |      Owner:  developers
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:  Chaos Calmer (trunk)
 Component:  packages   |    Version:  Trunk
Resolution:             |   Keywords:  DDNS
------------------------+----------------------------------

Comment (by Sascha Zorn):

 Hi Chris,

 I've just stumbled across the same issue. Actually its not wget's fault!
 You actually using ash wrong.

 If $VAR contains "echo test >/tmp/test", echo will be called with "test
 >/tmp/test" as argument! What you are looking for is "eval $VAR" which
 will interpret the > as redirect!

 So actually the error is in line 700:
 {{{ $__RUNPROG                 # DO transfer}}}

 which must be:
 {{{eval $__RUNPROG             # DO transfer}}}

 This fixes the error for me, while still having a working redirect of
 errors.

 Best regrads,
 Sascha

--
Ticket URL: <https://dev.openwrt.org/ticket/18411#comment:6>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to