feat(cellular, power): enable SDM660 IPA v2.6L 4G LTE, power-key status screen, and DVFS standby
Offline project checks / check (push) Canceled after 0s
Offline project checks / check (push) Canceled after 0s
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#!/sbin/openrc-run
|
||||
description="Platina Power + Volume Up: hold together, release both to shut down"
|
||||
description="Platina Power button, status screen, offline charger & standby daemon"
|
||||
command="/usr/local/sbin/platina-power-chord"
|
||||
command_user="root:root"
|
||||
command_args="--hold-seconds ${hold_seconds:-3}"
|
||||
command_args="--hold-seconds ${hold_seconds:-3} --screen-seconds ${screen_seconds:-12} --idle-suspend-seconds ${idle_suspend_seconds:-60}"
|
||||
supervisor="supervise-daemon"
|
||||
pidfile="/run/platina-power-chord.pid"
|
||||
respawn_delay=5
|
||||
@@ -18,6 +18,9 @@ depend() {
|
||||
|
||||
start_pre() {
|
||||
checkpath --file --mode 0640 --owner root:root "$output_log"
|
||||
if yesno "${power_key_mode:-yes}"; then
|
||||
command_args="$command_args --power-key-mode"
|
||||
fi
|
||||
if yesno "${dry_run:-yes}"; then
|
||||
command_args="$command_args --dry-run"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user