#!/bin/ash
#Update configs
mv /opt/Setup/Configs/ddclient.conf /etc/ddclient/ddclient.conf
mv /opt/Setup/Scripts/AddDomain.sh /opt/AddDomain.sh
#add ddns service to startup
rc-update add ddclient

#Update ReadMe
echo 'Use `ash /opt/AddDomain.sh` to add domains to ddns config' > ~/ReadMe