1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-11-27 17:58:13 +00:00
simplesshd/res/xml/preferences.xml

53 lines
1.8 KiB
XML
Raw Normal View History

2014-12-17 23:38:39 +00:00
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<CheckBoxPreference
android:key="onboot"
2014-12-17 23:52:22 +00:00
android:title="Start on Boot"
2014-12-17 23:38:39 +00:00
android:defaultValue="false" />
2016-10-16 18:47:16 +00:00
<CheckBoxPreference
android:key="foreground"
2016-10-16 19:07:34 +00:00
android:title="Foreground Service"
2016-10-16 18:47:16 +00:00
android:summary="Enable a notification while running, and run with more priority (especially in Doze mode)."
android:defaultValue="true" />
<CheckBoxPreference
android:key="onopen"
android:title="Start on Open"
android:summary="Start the service when the app is launched (and quit app when stopping service)."
android:defaultValue="false" />
2014-12-17 23:38:39 +00:00
<EditTextPreference
android:key="port"
2014-12-17 23:52:22 +00:00
android:title="Port Number"
android:summary="Must be greater than 1024."
2014-12-17 23:38:39 +00:00
android:numeric="integer"
android:defaultValue="2222" />
<EditTextPreference
android:key="path"
2014-12-17 23:52:22 +00:00
android:title="SSH Path"
android:summary="Location of misc dropbear files (put authorized_keys here)."
2014-12-17 23:38:39 +00:00
android:defaultValue="/sdcard/ssh" />
<EditTextPreference
android:key="shell"
2014-12-17 23:52:22 +00:00
android:title="Login Shell"
android:summary="Location of sh binary."
2014-12-17 23:38:39 +00:00
android:defaultValue="/system/bin/sh" />
<CheckBoxPreference
android:key="rsyncbuffer"
android:title="Buffer hack for rsync+SuperSU"
android:defaultValue="false" />
2014-12-17 23:38:39 +00:00
<EditTextPreference
android:key="home"
2014-12-17 23:52:22 +00:00
android:title="Home Directory"
android:summary="Default directory after login (put .profile here)."
2014-12-17 23:38:39 +00:00
android:defaultValue="/sdcard/ssh" />
<EditTextPreference
android:key="extra"
2014-12-17 23:52:22 +00:00
android:title="Extra Commandline"
android:summary="Commandline options for dropbear server."
2014-12-17 23:38:39 +00:00
android:defaultValue="" />
<EditTextPreference
android:key="env"
android:title="Environment Variables"
android:summary="Environment variables (one &quot;name=value&quot; per line)."
android:defaultValue="" />
2014-12-17 23:38:39 +00:00
</PreferenceScreen>