#!/bin/bash

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

systemctl daemon-reload
systemctl enable --now updatetime
