|
|
@ -542,7 +542,15 @@ $ /usr/bin/calibredb restore_database --really-do-it --with-library /opt/calibre |
|
|
|
### Configure the Captive Portal |
|
|
|
|
|
|
|
When we connect to the Bibliotecha wireless access point, we will be directed |
|
|
|
to a splash page where we are introduced to the library. We need to set that up: |
|
|
|
to a splash page where we are introduced to the library. |
|
|
|
|
|
|
|
First make sure we have all dependencies: |
|
|
|
|
|
|
|
```bash |
|
|
|
$ apt install -y wget git ghostscript python3-venv |
|
|
|
``` |
|
|
|
|
|
|
|
Then create a folder for our splash page: |
|
|
|
|
|
|
|
```bash |
|
|
|
$ mkdir /var/www/bibliotecha |
|
|
@ -551,7 +559,6 @@ $ mkdir /var/www/bibliotecha |
|
|
|
And then we download the default page into location: |
|
|
|
|
|
|
|
```bash |
|
|
|
$ apt install -y wget git python3-venv |
|
|
|
$ wget https://git.vvvvvvaria.org/varia/bibliotecha-captive-portal/raw/branch/master/index.html -O /var/www/bibliotecha/index.html |
|
|
|
``` |
|
|
|
|
|
|
|