Chromium Code Reviews| Index: src/platform/init/openssh-server.conf |
| diff --git a/src/platform/init/openssh-server.conf b/src/platform/init/openssh-server.conf |
| index 2ddc4579653099a156a2e5a685e15e42a49b5501..abca1e6e2d49442516c5a8d2ca0a8a73f53354f1 100644 |
| --- a/src/platform/init/openssh-server.conf |
| +++ b/src/platform/init/openssh-server.conf |
| @@ -1,13 +1,19 @@ |
| # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| +# |
| +# Starts an sshd daemon for developer builds. |
| -start on started connman |
| +start on stopped dump-boot-stats |
|
gauravsh
2010/03/12 21:59:45
Any specific reason for starting this late? (I am
sosa
2010/03/12 22:01:32
Ssh server is a development mode specific upstart
|
| respawn |
| expect fork |
| -exec /usr/sbin/sshd |
| - |
| +# TODO(sosa@chromium.org) - Remove old style once switched to new dev_mode |
| +if [ -f /root/.dev_mode ] ; then |
| + exec /usr/local/sbin/sshd |
| +else |
| + exec /usr/sbin/sshd |
| +fi |
| pre-start script |