forked from ungleich-public/cdist
Merge pull request #772 from sideeffect42/openbsd-init
explorer/init: Add support for OpenBSD
This commit is contained in:
commit
281691cfd9
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