Skip to content

Commit

Permalink
remove bogus debug foo
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Meeks committed Jan 20, 2010
1 parent 3a91927 commit f7ee9f1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions bootchartd
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@
# Whack everything in a handy tmpfs: /dev ...
JAIL="/dev/.bootchart"

# set to -v to get the collector to dump things
DEBUG=-v

# we need to find our tools
PATH="/sbin:/bin:/usr/sbin:/usr/bin:$PATH"

Expand Down Expand Up @@ -117,10 +114,10 @@ start()
fi

if [ -n "$IN_INIT" ]; then
chroot $JAIL /lib/bootchart/bootchart-collector $DEBUG -p proc $SAMPLE_HZ # 2>/dev/null &
chroot $JAIL /lib/bootchart/bootchart-collector -p proc $SAMPLE_HZ # 2>/dev/null &

else
/lib/bootchart/bootchart-collector $DEBUG -p proc $SAMPLE_HZ &
/lib/bootchart/bootchart-collector -p proc $SAMPLE_HZ &

if [ "$#" -gt 0 ]; then
# If a command was passed, run it
Expand Down

0 comments on commit f7ee9f1

Please sign in to comment.