This a fork of the original hprofile.
hprofile is a shell script utility to manage profiles (hardware/software.) (3.x is a bash script while 4.x is a zsh counterpart on {ba,z}sh branches; while 5.x is POSIX shell and 6.x use a simplified file hierarchy variant with a single PROFILE-functions file instead of the numerous tiny files.)
The sources tarball comes with the following profiles.
Set up X server configuration files on the fly depending on driver driver or hardware state.
Manage power profile for different sub-systems on the fly.
Manage hard disk power management using hdparm (software.)
Manage software RFKill capable devices. (Beware that some hardware require a cold reboo to function properly afterwards.)
See hprofile(1) man page
make DESTDIR=/ prefix=/usr/local install
Distributed under the GNU General Plublic License version 2 as pugblished by the Free Software Fondation, Inc.
BIG FAT WARNING:
**USE AT YOUR OUWN RISK, EVERYTHING IS GIVEN 'AS IS'**