mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-26 07:32:06 +08:00
b73d457d20
old-commit-hash: 0129a8a4ff
14 lines
128 B
Bash
Executable File
14 lines
128 B
Bash
Executable File
#!/bin/sh
|
|
finish() {
|
|
echo "exiting orbd"
|
|
pkill -SIGINT -P $$
|
|
}
|
|
|
|
trap finish EXIT
|
|
|
|
while true; do
|
|
./orbd &
|
|
wait $!
|
|
done
|
|
|