mirror of
http://galexander.org/git/simplesshd.git
synced 2024-12-28 17:08:08 +00:00
when launching the sshd service, make sure the /sdcard/ssh path exists,
otherwise we won't be able to access dropbear.err
This commit is contained in:
parent
f652b1b3c6
commit
9c7454d222
@ -118,6 +118,7 @@ public class SimpleSSHDService extends Service {
|
||||
|
||||
private static void do_start() {
|
||||
stop_sshd();
|
||||
new File(Prefs.get_path()).mkdirs();
|
||||
final int pid = start_sshd(Prefs.get_port(),
|
||||
Prefs.get_path(), Prefs.get_shell(),
|
||||
Prefs.get_home(), Prefs.get_extra(),
|
||||
|
Loading…
Reference in New Issue
Block a user