diff options
author | root <root@freyanet.lan> | 2024-08-23 15:51:21 +0000 |
---|---|---|
committer | root <root@freyanet.lan> | 2024-08-23 15:51:21 +0000 |
commit | 7c9a2ca6af162a44df480486d77c1ee761fe0828 (patch) | |
tree | b9ab7c072d8ef345e8a73a1437cc74f59b344f33 /Makefile | |
parent | forgot license (diff) | |
download | freyanet-7c9a2ca6af162a44df480486d77c1ee761fe0828.tar.gz freyanet-7c9a2ca6af162a44df480486d77c1ee761fe0828.tar.bz2 freyanet-7c9a2ca6af162a44df480486d77c1ee761fe0828.zip |
add openwrt
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,6 +1,7 @@ -.PHONY: install +.PHONY: install alpine openwrt install: + mkdir -p /usr/local/bin mkdir -p /var/lib/inet2 cp ./bin/* /usr/local/bin cp ./lib/* /var/lib/inet2 @@ -9,3 +10,8 @@ alpine: apk add --no-cache wireguard-tools bind-tools bird cp ./deployments/openrc/inet2.initd /etc/init.d/inet2 rc-update add inet2 + +openwrt: + opkg install wireguard-tools bind-tools bird2 + cp ./deployments/initd/inet2.initd /etc/init.d/inet2 + service inet2 enable |