Commit 302f2b0ade74df455f26ea159fae4001591736f4

Authored by Frederik Lindenaar
1 parent 3128d9ae

Fixed layout issues in GitLab

Showing 1 changed file with 11 additions and 3 deletions
README.md
@@ -90,9 +90,9 @@ Please run `check_otp -h` for an actual overview of the available options. The @@ -90,9 +90,9 @@ Please run `check_otp -h` for an actual overview of the available options. The
90 script currently supports 3 modes of operation: 90 script currently supports 3 modes of operation:
91 91
92 * password - simply authenticate with the provided secret (no calculations) 92 * password - simply authenticate with the provided secret (no calculations)
93 - * totp - calculate the TOTP code using a key and current time  
94 - * hotp - calculate the HOTP code using a key and a count (automatically  
95 - increments the count in case a count file is used) 93 + * totp - calculate the TOTP code using a key and current time
  94 + * hotp - calculate the HOTP code using a key and a count (automatically
  95 + increments the count in case a count file is used)
96 96
97 Generic parameters (connection parameters, critical/warning thresholds, etc.) 97 Generic parameters (connection parameters, critical/warning thresholds, etc.)
98 should be provided before the mode of operation is specified, mode-specific 98 should be provided before the mode of operation is specified, mode-specific
@@ -253,23 +253,31 @@ provide a patch). For information on how to connect sensor to the RaspberryPi @@ -253,23 +253,31 @@ provide a patch). For information on how to connect sensor to the RaspberryPi
253 and to get it working please click on the links in the list above. As per these, 253 and to get it working please click on the links in the list above. As per these,
254 most sensors require some configuration to make them available: 254 most sensors require some configuration to make them available:
255 * No setup is required to read the CPU temperature. 255 * No setup is required to read the CPU temperature.
  256 +
256 * To enable 1-wire interface support on the RaspberryPi use the command: 257 * To enable 1-wire interface support on the RaspberryPi use the command:
  258 +
257 ~~~ 259 ~~~
258 sudo raspi-config nonint do_onewire 0 260 sudo raspi-config nonint do_onewire 0
259 ~~~ 261 ~~~
  262 +
260 or use `raspi-config` interactively (1. Interfacing Options --> P7. 1-Wire). 263 or use `raspi-config` interactively (1. Interfacing Options --> P7. 1-Wire).
261 Please note that changing this requires a reboot. 264 Please note that changing this requires a reboot.
  265 +
262 * To enable I2C interface support on the RaspberryPi use the command: 266 * To enable I2C interface support on the RaspberryPi use the command:
  267 +
263 ~~~ 268 ~~~
264 sudo raspi-config nonint do_i2c 0 269 sudo raspi-config nonint do_i2c 0
265 ~~~ 270 ~~~
  271 +
266 or use `raspi-config` interactively (1. Interfacing Options --> P5. I2C). 272 or use `raspi-config` interactively (1. Interfacing Options --> P5. I2C).
267 Please note that changing this requires a reboot. 273 Please note that changing this requires a reboot.
268 The I2C interface also requires the `SMBus` or `SMBus2` library, to install 274 The I2C interface also requires the `SMBus` or `SMBus2` library, to install
269 the `SMBus` library on Raspbian Linux run: 275 the `SMBus` library on Raspbian Linux run:
  276 +
270 ~~~ 277 ~~~
271 sudo apt install python-smbus 278 sudo apt install python-smbus
272 ~~~ 279 ~~~
  280 +
273 `SMBus2` is a pure Python implementation that requires system-wide or a 281 `SMBus2` is a pure Python implementation that requires system-wide or a
274 `virtualenv`-based installation, less trivial than installing the package. 282 `virtualenv`-based installation, less trivial than installing the package.
275 283