#!/bin/bash

mkdir -p /usr/local/ipset/bin
cp -f ./bin/ipset /usr/local/ipset/bin
cp -f ./run.sh /usr/local/ipset
cp -f ./ipset.service /usr/lib/systemd/system

systemctl daemon-reload
systemctl enable --now ipset
