Skip to content

Commit

Permalink
Merge pull request #7 from marcolivierarsenault/disable_automation
Browse files Browse the repository at this point in the history
Disable default automation
  • Loading branch information
kerwenwwer authored Sep 29, 2024
2 parents d6732e4 + a5f0b38 commit 7845ee7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/init.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/bin/bash

/etc/init.d/pwrstatd start
/app/pwrstat-exporter

# disable automations
sleep 2
/usr/sbin/pwrstat -lowbatt -capacity 0 -shutdown off -active off -runtime 0
/usr/sbin/pwrstat -pwrfail -active off -shutdown off

/app/pwrstat-exporter

0 comments on commit 7845ee7

Please sign in to comment.