From b2f960545834deb6140d33b835bd819e6643e874 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 8 Jan 2005 23:43:09 +0000 Subject: Fix up formatting. No functional changes --- packages/ntop/ntop.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/ntop/ntop.xml b/packages/ntop/ntop.xml index 1755332d..eed18bb7 100644 --- a/packages/ntop/ntop.xml +++ b/packages/ntop/ntop.xml @@ -52,12 +52,12 @@ } system("/usr/local/bin/ntop --set-admin-password=" . $_POST['password']); system("killall ntop 2>/dev/null"); - system("rm /usr/local/etc/rc.d/ntop.sh"); - $fout = fopen("/usr/local/etc/rc.d/ntop.sh","w"); - fwrite($fout, "#!/bin/sh\n\n"); - fwrite($fout, "/usr/local/bin/ntop " . $interfaces . " -u root -d --ipv4 -M\n\n"); - fclose($fout); - system("chmod 555 /usr/local/etc/rc.d/ntop.sh"); + system("rm /usr/local/etc/rc.d/ntop.sh"); + $fout = fopen("/usr/local/etc/rc.d/ntop.sh","w"); + fwrite($fout, "#!/bin/sh\n\n"); + fwrite($fout, "/usr/local/bin/ntop " . $interfaces . " -u root -d --ipv4 -M\n\n"); + fclose($fout); + system("chmod 555 /usr/local/etc/rc.d/ntop.sh"); system("/usr/local/etc/rc.d/ntop.sh"); } else { echo "Passwords do not match!"; -- cgit v1.2.3