diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-01-10 22:01:12 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-01-10 22:01:12 +0000 |
commit | 0b6d212a00ba2954189096a31cd03bc4fabb9446 (patch) | |
tree | c9e5f7a85a528eccec5e42bf4d5d535fa8a4c666 | |
parent | 1d1faced56b820134058664ddaefe6d849ddaac5 (diff) | |
download | pfsense-packages-0b6d212a00ba2954189096a31cd03bc4fabb9446.tar.gz pfsense-packages-0b6d212a00ba2954189096a31cd03bc4fabb9446.tar.bz2 pfsense-packages-0b6d212a00ba2954189096a31cd03bc4fabb9446.zip |
Fix many small errors
-rw-r--r-- | packages/powerdns.xml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/powerdns.xml b/packages/powerdns.xml index 70643f7b..57054268 100644 --- a/packages/powerdns.xml +++ b/packages/powerdns.xml @@ -127,7 +127,7 @@ fwrite($fout, "launch=gpgsql\n"); fwrite($fout, "gpgsql-host=127.0.0.1\n"); fwrite($fout, "gpgsql-dbname=powerdns\n"); - fwrite($fout, "fwrite($fout, "gpgsql-user=pgsql\n"); + fwrite($fout, "gpgsql-user=pgsql\n"); fwrite($fout, "gpgsql-password=" . $_POST['password'] . "\n"); fwrite($fout, "chroot=/var/empty\n"); fwrite($fout, "disable-tcp=no\n"); @@ -135,10 +135,10 @@ fwrite($fout, "webserver=yes\n"); fwrite($fout, "webserver-address=127.0.0.1\n"); fwrite($fout, "webserver-port=8081\n"); - fwrite($fout, "local-address=" . $ipaddress . "\n";"); - fwrite($fout, "master=" . $POST['master'] . "\n"); - fwrite($fout, "slave=" . $POST['slave'] . "\n"); - fwrite($fout, "cache-ttl=" . $POST['cachettl'] . "\n"); + fwrite($fout, "local-address=" . $_POST['ipaddress'] . "\n"); + fwrite($fout, "master=" . $_POST['master'] . "\n"); + fwrite($fout, "slave=" . $_POST['slave'] . "\n"); + fwrite($fout, "cache-ttl=" . $_POST['cachettl'] . "\n"); /* XXX: TODO */ fwrite($fout, "# allow-axfr-ips=\n"); fwrite($fout, "# allow-recursion=\n"); @@ -187,10 +187,10 @@ fwrite($fout, "# wildcard-url=no\n"); fwrite($fout, "# wildcards=\n"); fclose($fout); - system("/usr/local/bin/pg_ctl -m smart"); - system("/usr/local/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start"); + system("/usr/local/bin/pg_ctl -m smart 2>/dev/null"); + system("/usr/local/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start 2>/dev/null"); } else { - echo "Passwords do not much! + echo "Passwords do not much!"; exit; } </custom_add_php_command> |