This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, next has been updated via 491058667250a1e720b39c44e97c376d25c8eea2 (commit) via 5902dd464bac74312141006986fde73cf14abd84 (commit) from 1e18d32b6e38d050b464ca6a1894e8f32e64dc45 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 491058667250a1e720b39c44e97c376d25c8eea2 Author: Arne Fitzenreiter arne_f@ipfire.org Date: Sat Sep 24 12:01:12 2011 +0200
makegraphs: replace kudzu.
commit 5902dd464bac74312141006986fde73cf14abd84 Author: Arne Fitzenreiter arne_f@ipfire.org Date: Sat Sep 24 12:00:55 2011 +0200
hddshutdown: replace kudzu.
-----------------------------------------------------------------------
Summary of changes: src/scripts/hddshutdown | 2 +- src/scripts/makegraphs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Difference in files: diff --git a/src/scripts/hddshutdown b/src/scripts/hddshutdown index bb28f83..dc49a17 100644 --- a/src/scripts/hddshutdown +++ b/src/scripts/hddshutdown @@ -22,7 +22,7 @@ # IPFire HDD Shutdown state reader #
-my @devices = `kudzu -qps -c HD | grep device: | cut -d" " -f2 | sort | uniq`; +my @devices = `find /sys/block/* -maxdepth 0 ! -name sr* ! -name loop* ! -name ram* -exec basename {} \; | sort | uniq`; my $diskstats = ""; my $newdiskstats = ""; my $debug = 1; diff --git a/src/scripts/makegraphs b/src/scripts/makegraphs index 97d086a..48444f5 100644 --- a/src/scripts/makegraphs +++ b/src/scripts/makegraphs @@ -102,7 +102,7 @@ sub updatehdddata{ ## Update vnstat system ('/usr/bin/vnstat -u');
-my @disks = `kudzu -qps -c HD | grep device: | cut -d" " -f2 | sort | uniq`; +my @disks = `find /sys/block/* -maxdepth 0 ! -name sr* ! -name loop* ! -name ram* -exec basename {} \; | sort | uniq`; system("unlink /var/run/hddstatus 2>/dev/null && touch /var/run/hddstatus"); foreach (@disks){ my $disk = $_;
hooks/post-receive -- IPFire 2.x development tree