/home/linuxer/GITs/Gitea/fakesystemctl/fakesystemctl
This commit is contained in:
parent
cdb1c32321
commit
7bfabc68da
|
@ -20,9 +20,9 @@
|
|||
# functions definitions
|
||||
|
||||
get_init() {
|
||||
openrc="$(pidof openrc)"
|
||||
openrc="$(pidof init)"
|
||||
runit="$(pidof runit)"
|
||||
s6="$(pidof s6)"
|
||||
s6="$(pidof s6-svscan)"
|
||||
|
||||
if [ "$openrc" = "1" ]; then
|
||||
export init_sys="openrc"
|
||||
|
|
Loading…
Reference in New Issue