initial commit

This commit is contained in:
ston1th 2017-01-06 15:04:49 +01:00
commit 781006e83b
4 changed files with 161 additions and 0 deletions

13
install.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/sh
dir=/var/www/ddns
ip=ip.txt
ip_file=${dir}/${ip}
mkdir -p ${dir}
touch ${ip_file}
chmod 0600 ${ip_file}
chown www:www ${ip_file}
rcctl enable slowcgi
rcctl start slowcgi
rcctl enable httpd
rcctl start httpd