Skip to content

Commit

Permalink
use SCRIPT_DIR in uninstall.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
henne49 committed Jun 6, 2024
1 parent f75bef8 commit cdfafd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RC_LOCAL_FILE=/data/rc.local
rm /service/$SERVICE_NAME

# end the dbus-opendtu process
kill $(pgrep -f 'dbus-opendtu')
kill $(pgrep -f "python $SCRIPT_DIR/dbus-opendtu.py")

# delete old logs if they exist
if [ -f $SCRIPT_DIR/current.log ]; then
Expand Down

0 comments on commit cdfafd1

Please sign in to comment.