]> git.donarmstrong.com Git - bin.git/blobdiff - add_openvpn_host
* fix chmod call
[bin.git] / add_openvpn_host
index 9a81030e7e3c172b0dde439f9ccacc73f78a70ff..adcb633743a6ee1997ab767b6ae1493c940c1e8a 100755 (executable)
@@ -57,5 +57,5 @@ tar -zcf "${HOST}".tar.gz -C "${TMPDIR}" \
 rm -rf "${TMPDIR}"
 
 cp ../ccd/__template__ ../ccd/"${HOST}";
-chmod +644 ../ccd/"${HOST}";
+chmod 0644 ../ccd/"${HOST}";
 HOST="${HOST}" perl -pi -e 's/HOSTNAME/$ENV{HOST}/g' ../ccd/"${HOST}";