diff options
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 |