2021-11-03 16:55:55 +00:00
|
|
|
--- a/rpi-eeprom-config
|
|
|
|
+++ b/rpi-eeprom-config
|
2022-05-17 14:22:56 +00:00
|
|
|
@@ -166,8 +166,8 @@ def edit_config(eeprom=None):
|
2021-11-03 16:55:55 +00:00
|
|
|
"""
|
|
|
|
Implements something like 'git commit' for editing EEPROM configs.
|
|
|
|
"""
|
|
|
|
- # Default to nano if $EDITOR is not defined.
|
|
|
|
- editor = 'nano'
|
|
|
|
+ # Default to vi if $EDITOR is not defined.
|
|
|
|
+ editor = 'vi'
|
|
|
|
if 'EDITOR' in os.environ:
|
|
|
|
editor = os.environ['EDITOR']
|
|
|
|
|
2022-05-17 14:22:56 +00:00
|
|
|
@@ -428,7 +428,7 @@ Operating modes:
|
2021-11-03 16:55:55 +00:00
|
|
|
|
|
|
|
To cancel the pending update run 'sudo rpi-eeprom-update -r'
|
|
|
|
|
|
|
|
- The default text editor is nano and may be overridden by setting the 'EDITOR'
|
|
|
|
+ The default text editor is vi and may be overridden by setting the 'EDITOR'
|
|
|
|
environment variable and passing '-E' to 'sudo' to preserve the environment.
|
|
|
|
|
2022-05-17 14:22:56 +00:00
|
|
|
6. Signing the bootloader config file.
|