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

Unified Diff: bin/crosh-dev

Issue 2733001: initial add of chromeos shell and cros-term (Closed) Base URL: ssh://git@chromiumos-git//window_manager.git
Patch Set: chmod +x cros-term Created 10 years, 6 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
« bin/crosh ('K') | « bin/crosh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/crosh-dev
diff --git a/bin/crosh-dev b/bin/crosh-dev
new file mode 100755
index 0000000000000000000000000000000000000000..d67798862baf66e6d27748995666129fc0f71bb8
--- /dev/null
+++ b/bin/crosh-dev
@@ -0,0 +1,21 @@
+#!/bin/bash
+# Copyright (c) 2009-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.
+
+# dev-mode functionality for chrosh
+
+if [ "$(basename $0)" == "crosh-dev" ]; then
+ exec "$(dirname $0)/crosh --dev"
+fi
+
+DEV_HELP='
+shell
+ Open a command line shell.
+'
+
+HELP="$HELP$DEV_HELP"
+
+function cmd_shell() {
+ bash
+}
« bin/crosh ('K') | « bin/crosh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698