Skip to content

Commit 69e8db9

Browse files
Resolve #11: update dropbear options
1 parent dfbed2e commit 69e8db9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

initrd-dropbear.service

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,12 @@ Requires=initrd-shell.service
1414
Requires=initrd-network.service
1515

1616
[Service]
17-
Environment=IDLE_TIME=300
1817
# dropbear options:
1918
# -s Disable password logins.
2019
# -j Disable local port forwarding.
2120
# -k Disable remote port forwarding.
22-
# -m Don't display the message of the day.
2321
# -F Don't fork into background.
24-
# -I Disconnect after idle timeout (seconds).
25-
ExecStart=/bin/dropbear -s -j -k -m -F -I ${IDLE_TIME}
22+
ExecStart=/bin/dropbear -s -j -k -F
2623
ExecReload=/bin/kill -HUP ${MAINPID}
2724
# dropbear reports 1 when exiting on SIGTERM
2825
SuccessExitStatus= 0 1

0 commit comments

Comments
 (0)