Edited README, aesthetically.

pull/16/head
tastytea 2019-03-29 23:08:03 +01:00
parent 72be9701a1
commit b0d7c515cd
No known key found for this signature in database
GPG Key ID: CFC39497F1B26E07
1 changed files with 13 additions and 9 deletions

View File

@ -4,21 +4,25 @@ boot partition. The checksums and a backup of the contents of `/boot` are stored
in `/var/lib/hashboot` by default. If a checksum doesn't match, you have the in `/var/lib/hashboot` by default. If a checksum doesn't match, you have the
option to restore the file from backup. option to restore the file from backup.
If there is a core- or libreboot bios and flashrom installed, **hashboot** can check bios for modifications too. If there is a core- or libreboot BIOS and [flashrom](https://flashrom.org/)
installed, **hashboot** can check the BIOS for modifications too.
# Install # Install
* Make hashboot executable * Make hashboot executable
* Place hashboot anywhere in $PATH * Place hashboot anywhere in ${PATH}
* Install the appropriate init script * Install the appropriate init script
* If applicable, copy kernel-hook to /etc/kernel/post{inst,rm}.d/zzz-hashboot (make sure it is called after all other hooks) * If applicable, copy kernel-hook to /etc/kernel/post{inst,rm}.d/zzz-hashboot
* To generate the manpage, install asciidoc and run `build_manpage.sh`. (make sure it is called after all other hooks)
* To generate the manpage, install [asciidoc](http://asciidoc.org/) and run
`build_manpage.sh`.
# Usage # Usage
* First run creates a configuration file. Use bitmask to select desired checkroutines
* Run "hashboot index" to generate checksums and a backup for /boot and MBR * First run creates a configuration file. Select the desired checkroutines
* Run "hashboot check" to check /boot and MBR * Run `hashboot index` to generate checksums and a backup for /boot and MBR
* Run "hashboot recover" to replace corrupted files with the backup * Run `hashboot check` to check /boot and MBR
* Run `hashboot recover` to replace corrupted files with the backup
# Notes # Notes
@ -29,6 +33,6 @@ If there is a core- or libreboot bios and flashrom installed, **hashboot** can c
```PLAIN ```PLAIN
"THE HUG-WARE LICENSE" (Revision 2): "THE HUG-WARE LICENSE" (Revision 2):
teldra <teldra@rotce.de> and tastytea <tastytea@tastytea.de> wrote this. teldra <teldra@rotce.de> and tastytea <tastytea@tastytea.de> wrote this.
As Long as you retain this notice you can do whatever you want with this. As long as you retain this notice you can do whatever you want with this.
If we meet some day, and you think this is nice, you can give us a hug. If we meet some day, and you think this is nice, you can give us a hug.
``` ```