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 |
+} |