projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ar7] refresh patches and remove trailing whitespaces
[openwrt.git]
/
package
/
dropbear
/
files
/
dropbear.init
diff --git
a/package/dropbear/files/dropbear.init
b/package/dropbear/files/dropbear.init
index
074df70
..
aa7e07d
100755
(executable)
--- a/
package/dropbear/files/dropbear.init
+++ b/
package/dropbear/files/dropbear.init
@@
-52,6
+52,11
@@
dropbear_start()
# F) root login
config_get_bool val "${section}" RootLogin 1
[ "${val}" -eq 0 ] && append args "-w"
# F) root login
config_get_bool val "${section}" RootLogin 1
[ "${val}" -eq 0 ] && append args "-w"
+ # G) host keys
+ config_get val "${section}" rsakeyfile
+ [ -f "${val}" ] && append args "-r ${val}"
+ config_get val "${section}" dsskeyfile
+ [ -f "${val}" ] && append args "-d ${val}"
# execute program and return its exit code
[ "${verbosed}" -ne 0 ] && echo "${initscript}: section ${section} starting ${PROG} ${args}"
# execute program and return its exit code
[ "${verbosed}" -ne 0 ] && echo "${initscript}: section ${section} starting ${PROG} ${args}"
This page took
0.027854 seconds
and
4
git commands to generate.