Thread
:
Enable/Disable ssh server depending on wifi connection
View Single Post
colder
2010-11-04 , 15:52
Posts: 12 | Thanked: 2 times | Joined on Oct 2008 @ Houston
#
1
hey guys, I have a small question and I'm hoping someone can help me....
I do not know how much battery ssh server consumes but since some people opened a couple of threads I guess it may play a significant role in its duration.
I was thinking of finding a way to boot the n900 with the ssh server stopped and then have it started only when I connect to the internet and stopped again when I disconnect.
I do not know if this could be possible, I am not a guru on that stuff, but what if we could put 2 scripts in
/etc/network/if-up.d and
/etc/network/if-down.d
respectively.
Would this work?
Thanks in advance
Quote & Reply
|
colder
View Public Profile
Send a private message to colder
Find all posts by colder