i'm developing installer yamon script *wrt routers (see http://www.dd-wrt.com/phpbb2/viewtopic.php?t=289324).
i'm testing on tp-link tl-wr1043nd dd-wrt v3.0-r28647 std (01/02/16). many others, firmware variant not include curl
(gracefully) fall wget
call. but, appears dd-wrt includes cut-down version of wget
-c , --no-cache options not recognized.
long & short, wget
calls insist on downloading cached versions of requested files.
btw - i'm using: wget "$src" -qo "$dst"
src
source file on remote server , dst
destination on local router
so far i've unsuccessfully tried to: 1. append timestamp request url 2. reboot router 3. run stopservice dnsmasq
& startservice dnsmasq
none have changed fact i'm still getting cached version of file.
i'm beating head against wall... suggestions? thx!
al
not answer seemingly viable workaround...
after lot of experimentation, found wget
seems return latest version of file remote server if extension on requested file '.html'; if else (e.g., '.txt' or '.sh'), not.
i have no clue why happens or cached.
but do, of files required installer have html extension on remove server , script saves them proper extension locally. (sigh...several days of life won't back)
al
Comments
Post a Comment