#!/bin/sh

sudo mkdir -p $HOME/.local/src
sudo ln -sf $PWD/client/unix/ $HOME/.local/src/gdipc
sudo ln -sf $HOME/.local/src/gdipc/bin/gdipc.pl $HOME/.local/bin/gdipc

gdipc -c

ln -sf $PWD/systemd/gnudip.service $HOME/.config/systemd/user/gnudip.service

systemctl enable --user gnudip
