| Index: bin/crosh
|
| diff --git a/bin/crosh b/bin/crosh
|
| index 8fbffad84dac85428dcdc9801de7fe7205661e2e..6f05352dfe0af20027ce497673bedcfb5595154c 100755
|
| --- a/bin/crosh
|
| +++ b/bin/crosh
|
| @@ -114,10 +114,11 @@ if [ "$(echo "$@" | grep -- "--usb")" -o "$REMOVABLE" = "1" ]; then
|
| fi
|
|
|
| # TODO(rginda): Switch to the "real" dev mode file when we have one.
|
| -/bin/cros_boot_mode -s -m developer
|
| +/usr/bin/crossystem cros_debug?1
|
| DEVMODE=$((!$?))
|
| # Force dev behavior on dev images
|
| -# TODO(wad) replace with a cros_boot_mode arg once supported.
|
| +# TODO(wad,rspangler) replace with a crossystem arg once cros_debug checks this
|
| +# too.
|
| if [ -f "/root/.dev_mode" ]; then
|
| DEVMODE=1
|
| fi
|
|
|