summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-12-20 10:23:47 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-12-20 10:23:47 +0000
commitf6dfed0758233f7918aee4cdc9c5eff84ad9f0d9 (patch)
tree2652122b4937f5debbafd5dcd99250bf261e2cb5 /etc
parentab482df18b8cdbf02ca4c69d07b8e6b8d8fe48a8 (diff)
downloadpfsense-f6dfed0758233f7918aee4cdc9c5eff84ad9f0d9.zip
pfsense-f6dfed0758233f7918aee4cdc9c5eff84ad9f0d9.tar.gz
Correct find command
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/config.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index acf7d46..a25686f 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -2082,7 +2082,7 @@ endif;
/* build a list of quality databases */
/* roundtrip has become delay */
/* the roundtrip times need to be divided by 1000 to get seconds, really */
- exec("cd $rrddbpath;/usr/bin/find -name *-quality.rrd", $databases);
+ exec("cd $rrddbpath;/usr/bin/find *-quality.rrd", $databases);
rsort($databases);
foreach($databases as $database) {
log_error("Upgrading rrd database {$rrddbpath}{$database}");
@@ -2100,7 +2100,7 @@ endif;
$xmldumptmp = "{$database}.tmp.xml";
$databasenew = "{$database}.new.xml";
- echo "Upgrading rrd database {$rrddbpath}/{$database} \n");
+ echo "Migrate RRD database {$rrddbpath}/{$database} to new format \n");
/* rename DS source */
mwexec("$rrdtool tune {$rrddbpath}/{$database} -r in:inpass");
mwexec("$rrdtool tune {$rrddbpath}/{$database} -r out:outpass");
OpenPOWER on IntegriCloud