Skip to content

Commit

Permalink
exec
Browse files Browse the repository at this point in the history
  • Loading branch information
Comma Device committed Aug 28, 2024
1 parent 419a06c commit 0059c27
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions selfdrive/modeld/dmonitoringmodeld
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
cd "$DIR/../../"

if [ -f "$DIR/libthneed.so" ]; then
export LD_PRELOAD="$DIR/libthneed.so"
fi

exec "$DIR/dmonitoringmodeld.py" "$@"

0 comments on commit 0059c27

Please sign in to comment.