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 90 script currently supports 3 modes of operation:
91 91  
92 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 97 Generic parameters (connection parameters, critical/warning thresholds, etc.)
98 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 253 and to get it working please click on the links in the list above. As per these,
254 254 most sensors require some configuration to make them available:
255 255 * No setup is required to read the CPU temperature.
  256 +
256 257 * To enable 1-wire interface support on the RaspberryPi use the command:
  258 +
257 259 ~~~
258 260 sudo raspi-config nonint do_onewire 0
259 261 ~~~
  262 +
260 263 or use `raspi-config` interactively (1. Interfacing Options --> P7. 1-Wire).
261 264 Please note that changing this requires a reboot.
  265 +
262 266 * To enable I2C interface support on the RaspberryPi use the command:
  267 +
263 268 ~~~
264 269 sudo raspi-config nonint do_i2c 0
265 270 ~~~
  271 +
266 272 or use `raspi-config` interactively (1. Interfacing Options --> P5. I2C).
267 273 Please note that changing this requires a reboot.
268 274 The I2C interface also requires the `SMBus` or `SMBus2` library, to install
269 275 the `SMBus` library on Raspbian Linux run:
  276 +
270 277 ~~~
271 278 sudo apt install python-smbus
272 279 ~~~
  280 +
273 281 `SMBus2` is a pure Python implementation that requires system-wide or a
274 282 `virtualenv`-based installation, less trivial than installing the package.
275 283  
... ...