Compare commits
4 commits
1b0b6379f3
...
4b69358604
Author | SHA1 | Date | |
---|---|---|---|
4b69358604 | |||
9386bf782d | |||
f76b86b8ed | |||
c6ae581893 |
4 changed files with 13 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
||||||
ARCH=arm
|
ARCH=arm
|
||||||
VERSION=1.27.6
|
VERSION=1.29.0
|
||||||
CCPREFIX=arm-linux-gnueabihf-
|
CCPREFIX=arm-linux-gnueabihf-
|
||||||
|
|
||||||
SRC := $(shell find src -type f | tail -n+2)
|
SRC := $(shell find src -type f | tail -n+2)
|
||||||
|
|
|
@ -15,3 +15,11 @@ Run `make` to build the update tarball `KoboRoot.tgz`.
|
||||||
Place the built `KoboRoot.tgz` file in the `.kobo/` folder of your
|
Place the built `KoboRoot.tgz` file in the `.kobo/` folder of your
|
||||||
eReader and eject it.
|
eReader and eject it.
|
||||||
|
|
||||||
|
## Final steps
|
||||||
|
|
||||||
|
To access the admin interface of syncthing you have to edit `config.xml`
|
||||||
|
and replace `<address>127.0.0.1:8384</address>` with
|
||||||
|
`<address>0.0.0.0:8384</address>`. The config is located at
|
||||||
|
`.adds/syncthing/config.xml`. Be aware that anyone
|
||||||
|
in the same network can access the admin interface, so install a TLS
|
||||||
|
certificate and set a password.
|
||||||
|
|
|
@ -6,7 +6,7 @@ log_s() {
|
||||||
echo "$@" >&2
|
echo "$@" >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
: "${HOME:=/}"
|
: "${HOME:=/mnt/onboard}"
|
||||||
SYNCTHING_HOME=/mnt/onboard/.adds/syncthing
|
SYNCTHING_HOME=/mnt/onboard/.adds/syncthing
|
||||||
|
|
||||||
# add 127.0.0.1 to loopback device
|
# add 127.0.0.1 to loopback device
|
||||||
|
|
3
src/usr/local/syncthing/stop.sh
Executable file
3
src/usr/local/syncthing/stop.sh
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
killall syncthing
|
Loading…
Add table
Reference in a new issue