Skip to content

Commit

Permalink
optimized disable procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-manuel committed Jun 10, 2023
1 parent 4fcbee0 commit 68bd0a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/dbus-serialbattery/disable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ rm -rf /service/dbus-serialbattery.*
rm -rf /service/dbus-blebattery.*

# kill driver, if running
pkill -f "python .*/dbus-serialbattery.py"
pkill -f "blebattery"
pkill -f "dbus-serialbattery"
pkill -f "dbus-blebattery"

# remove install script from rc.local
sed -i "/bash \/data\/etc\/dbus-serialbattery\/reinstall-local.sh/d" /data/rc.local
Expand Down

0 comments on commit 68bd0a5

Please sign in to comment.