1 parent
2392477ec8
commit
bfd1b626d5
8 files changed
+38
-18
No files matched your search
@@ -2,15 +2,19 @@
|
||||
|
||||
router shit
|
||||
|
||||
## compile
|
||||
## usage
|
||||
|
||||
with [cross](https://crates.io/crates/cross).
|
||||
- Build (Windows host OK):
|
||||
- cargo build --release --target armv7-unknown-linux-musleabihf
|
||||
- Run on a Linux box/router:
|
||||
- copy target/armv7-unknown-linux-musleabihf/release/wakey to the device
|
||||
- chmod +x wakey && ./wakey
|
||||
- Install via release asset (OpenWrt):
|
||||
- wget -O- `https://your.gitea/owner/repo/releases/download/vX.Y.Z/wakey-rootfs-vX.Y.Z-armv7-unknown-linux-musleabihf.tgz` | tar -xz -C /
|
||||
- /etc/init.d/wakey enable && /etc/init.d/wakey start
|
||||
|
||||
Optional updater (fetch latest automatically on OpenWrt):
|
||||
|
||||
```sh
|
||||
cross build --release --target armv7-unknown-linux-musleabihf # my machine
|
||||
WAKEY_HOST=git.ldlda.com WAKEY_OWNER=lda WAKEY_REPO=wakey sh /etc/ldlda_help/update_wakey.sh
|
||||
```
|
||||
|
||||
cross works with a random windows machine.
|
||||
it works; those toolchains they tried to install: add them forcefully by hand.
|
||||
|
||||
it works. uses docker.
|
||||
Reference in new issue
Block a user