Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1136)

Unified Diff: src/platform/init/openssh-server.conf

Issue 912003: Make ssh compatible with dev mode and remove testing ssh items that don't work (Closed)
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/scripts/mod_for_test_scripts/601autoStartSshd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | src/scripts/mod_for_test_scripts/601autoStartSshd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698