app-misc/powerpanel: removed scripts from /etc

Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
Julien Roy
2022-04-23 22:15:53 -04:00
parent e0af6353ee
commit 186ce3d855
3 changed files with 56 additions and 26 deletions

View File

@@ -0,0 +1,35 @@
diff --git a/conf/pwrstatd.conf b/conf/pwrstatd.conf-new
index 548fc5e..c260823 100644
--- a/conf/pwrstatd.conf
+++ b/conf/pwrstatd.conf
@@ -3,7 +3,7 @@
#
# You must restart pwrstatd after changing this file in order for changes to take effect.
-# Ex:/etc/init.d/pwrstatd restart
+# Ex:/opt/powerpanel/init.d/pwrstatd restart
#
# Action setting for event of Power Failure
@@ -18,8 +18,8 @@ powerfail-delay = 60
powerfail-active = yes
# Assign a path of script file for event of Power Failure.
-# The default is /etc/pwrstatd-powerfail.sh
-powerfail-cmd-path = /etc/pwrstatd-powerfail.sh
+# The default is /opt/powerpanel/pwrstatd-powerfail.sh
+powerfail-cmd-path = /opt/powerpanel/pwrstatd-powerfail.sh
# How much time in seconds to take script running for event of Power Failure.
# The allowed range is 0 ~ 3600. Default is 0 sec.
@@ -50,8 +50,8 @@ runtime-threshold = 300
lowbatt-active = yes
# Assign a path of script file for event of Battery Low.
-# The default is /etc/pwrstatd-lowbatt.sh
-lowbatt-cmd-path = /etc/pwrstatd-lowbatt.sh
+# The default is /opt/powerpanel/pwrstatd-lowbatt.sh
+lowbatt-cmd-path = /opt/powerpanel/pwrstatd-lowbatt.sh
# How much time in seconds to take script running for event of Battery Low.
# The allowed range is 0 ~ 60. Default is 0 sec.