View Single Post
calvin_42's Avatar
Posts: 286 | Thanked: 219 times | Joined on Feb 2010 @ France
#215
Hi!

Originally Posted by kerneld View Post
Hey! Only installed your app today, but it was v0.3 .. Just uninstalled and tried again and all I get is 0.3 -- that's from devel, though.. Is 0.3.1 available in some other repository? It could be devel just taking priority, for some reason.

Ah, and by the way, I think the description text is a bit garbled up, pretty sure the example for the disconnection threshold says the opposite of what you meant it to say ("if it's less than <threshold> it won't disconnect).
So as I said just above, the 0.3.1-2 version is now available. The description text has been corrected too

Originally Posted by kerneld View Post
Couldn't get your app to work, though.. Manually running the autodisconnect_network_runner script, returns the following:
Code:
/opt/autodisconnect/autodisconnect-network-check: line 65: syntax error in conditional expression
/opt/autodisconnect/autodisconnect-network-check: line 65: syntax error near `-a'
/opt/autodisconnect/autodisconnect-network-check: line 65: `        [[ -n "$Pid" -a "$Pid" -ne "$$" ]] && {'
Could never see it running in the background on top and searching for the pid returned nothing, so I assumed the above errors are preventing it from running. No log file to be seen either. Have uninstalled it for now (pitty, though, your app looks promising and is something I'd really appreciate having), so didn't test this: do you have to reboot after instalation to get it working? This being a linux distro and not windows, I don't particularly like rebooting unless absolutely needed.
Well running the autodisconnect_network_runner script won't work because it needs other parameters, but it shouldn't return a syntax error. Are you using sh ? The problem doesn't come from the script but from the environment.you're running it. This prevent from the program to run correctly (no reboot is required).

Cheers!
__________________
AutoDisconnect automatically closes your idle connections (Wifi/3G/Bluetooth) and switches the network mode to 2G when 3G is not used. [ Thread ] [ Wiki ] [ Donate ]