hi.
well i have an TP-Link WR841ND-v7 working with the trunk release of openWRT.
webif: LuCI

well... i have near of amonth trying to make the QSS button(wps) run an script that restart a determinate service.

the script in hotplug.d/button/00-button are working perfectly and execute an external script but i cant run a service from the second script
the command "exec", "./portal" (portal is the name of the service) doesnt work.

the second script are like this


logger killing process
killall -9 portal
logger starting process

exec portal -config /alternate.conf
// tried ./portal -config /alternate.conf without results

logger end of command. portal may be working now

the second script works if i run from SSH terminal but not if i press the button QSS.

any idea?