/home/linuxer/GITs/Gitea/fakesystemctl/fakesystemctl

This commit is contained in:
linuxer 2021-02-13 01:10:53 +02:00
parent cdb1c32321
commit 7bfabc68da
Signed by: linuxer.gr
GPG Key ID: CCD2779140DF9E58
1 changed files with 2 additions and 2 deletions

View File

@ -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"