From b9f23176d7eb44c7214c88d3e8c5c9188ed490fe Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 14 Feb 2007 00:20:15 +0000 Subject: Misc style formatting --- packages/tinydns/tinydns.inc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/tinydns/tinydns.inc b/packages/tinydns/tinydns.inc index 05a76290..4cae65d4 100644 --- a/packages/tinydns/tinydns.inc +++ b/packages/tinydns/tinydns.inc @@ -141,7 +141,7 @@ function tinydns_custom_php_changeip_command() { exec("/bin/mkdir /service"); exec("/bin/ln -s /etc/tinydns /service/"); exec("echo $ip > /service/tinydns/env/IP"); - exec("killall -9 tinydns"); + exec("/usr/bin/killall -9 tinydns"); conf_mount_ro(); filter_configure(); } @@ -345,9 +345,9 @@ function tinydns_get_rowline_data($recordip, $recordtype, $ttl, $hostname,$rdns) case "A": /* "=" creates both "A" and "PTR" records to allow both forward and reverse DNS */ if($rdns) - $record_data = "={$hostname}:{$recordip}{$ttl_string}"; + $record_data = "={$hostname}:{$recordip}{$ttl_string}"; else - /* "+" creates "A" records only to allow forward DNS */ + /* "+" creates "A" records only to allow forward DNS */ $record_data = "+{$hostname}:{$recordip}{$ttl_string}"; break; case "CNAME": @@ -370,7 +370,6 @@ function tinydns_do_xmlrpc_sync($sync_to_ip, $password) { if(!$sync_to_ip) return; - $xmlrpc_sync_neighbor = $sync_to_ip; if($config['system']['webgui']['protocol'] != "") { $synchronizetoip = $config['system']['webgui']['protocol']; @@ -392,8 +391,6 @@ function tinydns_do_xmlrpc_sync($sync_to_ip, $password) { $xml['installedpackages']['tinydns'] = $config['installedpackages']['tinydns']; $xml['installedpackages']['tinydnsdomains'] = $config['installedpackages']['tinydnsdomains']; - //print_r($xml); - /* assemble xmlrpc payload */ $params = array( XML_RPC_encode($password), -- cgit v1.2.3