ControlBlock Power Switch Issue
-
@BakedGoods awesome thanks!!! I'm still new to this stuff. Is there a way to make an edit without uninstalling and reinstalling things?
-
@petrockblog said in ControlBlock Power Switch Issue:
The location of the configuration file has also changed with the recent driver update. It is now located at
/usr/local/etc/controlblockservice.cfg
.That change has been reverted. The config file is located at its original location at
/etc/controlblockservice.cfg
. -
Is there a way to edit the powerswitch.cpp without uninstalling and reinstalling anything?
-
@dantropie is there a way to edit the cpp file from the command prompt?
-
@dantropie so I did sudo nano on the PowerSwitch.cpp file and edited the line to shut down now. But it still takes 3-4 min to shut down. Any help?
-
You can download and install the latest revision of the PowerBlock driver. You can control the shutdown action now with a shutdown script, see https://github.com/petrockblog/PowerBlock#shutdown-script.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.