Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ clean:

tests:
make install
sudo /usr/sbin/mbpfan -f -v -t
/usr/sbin/mbpfan -f -v -t

uninstall:
rm /usr/sbin/mbpfan
Expand All @@ -78,4 +78,4 @@ install:
@echo " sudo make tests"
@echo ""
rebuild: clean all
#rebuild is not entirely correct
#rebuild is not entirely correct
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ To add the script to the default runlevels, run the following as root:
An init file is available for gentoo users: mbpfan.init.gentoo
To install, run as root:

chmod +x mbpfan.init.gentoo
cp mbpfan.init.gentoo /etc/init.d/mbpfan

To automatically run mbpfan at boot, run as root:
Expand Down
2 changes: 0 additions & 2 deletions src/mbpfan.c
Original file line number Diff line number Diff line change
Expand Up @@ -504,8 +504,6 @@ void mbpfan()
}
}

sleep(polling_interval);

step_up = (float)( max_fan_speed - min_fan_speed ) /
(float)( ( max_temp - high_temp ) * ( max_temp - high_temp + 1 ) / 2 );

Expand Down