Are you on the latest version.....what does the following show?Unbound install through amtm sets the path in service-event to /jffs/scripts/unbound_stats.sh , the correct path is /jffs/addons/unbound/unbound_stats.sh .
Noticed this through many resets.
find /jffs/ -name "unbound_stats.sh" -type f -exec grep -F 'SCRIPT_VERSION=' {} +
Are you on the latest version.....what does the following show?
Code:find /jffs/ -name "unbound_stats.sh" -type f -exec grep -F 'SCRIPT_VERSION=' {} +
The entry inreadonly SCRIPT_VERSION="v1.3.0" << shows this from your command.
shows in amtm
7 open unbound Manager v3.21
Installing through amtm. Ive done a crapload of different firmwares, factory resets lately. Ive had to change path everytime.
service-event
is managed by unbound_stats.sh
and its install path variable should be revealed byfind /jffs/ -name "unbound_stats.sh" -type f -exec grep -E 'SCRIPT_VERSION=|SCRIPT_DIR=' {} +
unbound_stats.sh
from service-event
and trace the sh -x /jffs/addons/unbound/unbound_stats.sh install
commandUnder Autoservice in your script, it only puts the correct path IF service-event is already present. On a new install it is not.The entry inservice-event
is managed byunbound_stats.sh
and its install path variable should be revealed by
You could manually removeCode:find /jffs/ -name "unbound_stats.sh" -type f -exec grep -E 'SCRIPT_VERSION=|SCRIPT_DIR=' {} +
unbound_stats.sh
fromservice-event
and trace thesh -x /jffs/addons/unbound/unbound_stats.sh install
command
FYIUnder Autoservice in your script, it only puts the correct path IF service-event is already present. On a new install it is not.
service-event after running unbound_stats.sh install twice
#!/bin/sh
/jffs/scripts/unbound_stats.sh generate "$1" "$2" & # Unbound_Stats.sh
/jffs/addons/unbound/unbound_stats.sh generate "$1" "$2" & # Unbound_Stats.sh
unbound_stats.sh
is not my script....my unbound_manager.sh
script simply downloads it from @juched's Github.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!