[explorer/init] Add support for OpenBSD
This commit is contained in:
parent
aba1ae68f0
commit
6dd5278ade
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ case "$uname_s" in
|
||||||
Linux)
|
Linux)
|
||||||
(pgrep -P0 -l | awk '/^1[ \t]/ {print $2;}') || true
|
(pgrep -P0 -l | awk '/^1[ \t]/ {print $2;}') || true
|
||||||
;;
|
;;
|
||||||
FreeBSD)
|
FreeBSD|OpenBSD)
|
||||||
ps -o comm= -p 1 || true
|
ps -o comm= -p 1 || true
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue