2024-08-23 15:51:21 +00:00
|
|
|
.PHONY: install alpine openwrt
|
2023-12-30 20:23:30 +00:00
|
|
|
|
|
|
|
install:
|
2024-08-23 15:51:21 +00:00
|
|
|
mkdir -p /usr/local/bin
|
2023-12-30 20:23:30 +00:00
|
|
|
mkdir -p /var/lib/inet2
|
|
|
|
cp ./bin/* /usr/local/bin
|
|
|
|
cp ./lib/* /var/lib/inet2
|
|
|
|
|
|
|
|
alpine:
|
|
|
|
apk add --no-cache wireguard-tools bind-tools bird
|
|
|
|
cp ./deployments/openrc/inet2.initd /etc/init.d/inet2
|
|
|
|
rc-update add inet2
|
2024-08-23 15:51:21 +00:00
|
|
|
|
|
|
|
openwrt:
|
|
|
|
opkg install wireguard-tools bind-tools bird2
|
|
|
|
cp ./deployments/initd/inet2.initd /etc/init.d/inet2
|
|
|
|
service inet2 enable
|