You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
826 B

  1. --- a/rpi-eeprom-config
  2. +++ b/rpi-eeprom-config
  3. @@ -129,8 +129,8 @@ def edit_config(eeprom=None):
  4. """
  5. Implements something like 'git commit' for editing EEPROM configs.
  6. """
  7. - # Default to nano if $EDITOR is not defined.
  8. - editor = 'nano'
  9. + # Default to vi if $EDITOR is not defined.
  10. + editor = 'vi'
  11. if 'EDITOR' in os.environ:
  12. editor = os.environ['EDITOR']
  13. @@ -317,7 +317,7 @@ Operating modes:
  14. To cancel the pending update run 'sudo rpi-eeprom-update -r'
  15. - The default text editor is nano and may be overridden by setting the 'EDITOR'
  16. + The default text editor is vi and may be overridden by setting the 'EDITOR'
  17. environment variable and passing '-E' to 'sudo' to preserve the environment.
  18. See 'rpi-eeprom-update -h' for more information about the available EEPROM