Skip to content

Commit

Permalink
Accelerate accd stop
Browse files Browse the repository at this point in the history
  • Loading branch information
VR-25 committed Jun 10, 2022
1 parent 8df12eb commit ddc8c50
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions install/accd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,20 @@ if ! $init; then
[ -n "$1" ] && exitCode=$1
[ -n "$2" ] && print "$2"
$persistLog || exec > /dev/null 2>&1
cmd_batt reset
cmd_batt reset &
grep -Ev '^$|^#' $config > $TMPDIR/.config
config=$TMPDIR/.config
apply_on_boot default
apply_on_plug default
enable_charging
apply_on_boot default &
apply_on_plug default &
enable_charging &
if tt "$exitCode" "[127]"; then
. $execDir/logf.sh
logf --export
notif "⚠️ Daemon stopped with exit code $exitCode!"
fi
cd /
echo versionCode=$versionCode
wait
exit $exitCode
}

Expand Down

0 comments on commit ddc8c50

Please sign in to comment.