coolstar / Odyssey-bootstrap

Chimera bootstrap
107 stars 40 forks source link

Use pkill if killall doesn't exist #11

Closed p0358 closed 3 years ago

p0358 commented 4 years ago

Turned this into an if, because for instance my phone seems to have killall and no pkill, but on the other hand a default Debian installation has only pkill, and to get killall, one needs to additionally install psmisc...

pkill uses -x here to match killall's default behavior

-x, --exact
              Only match processes whose names (or command line if -f is specified) exactly match the pattern.
m1stadev commented 3 years ago

No longer necessary as of d23b1c9.