diff options
Diffstat (limited to 'add-service')
-rwxr-xr-x | add-service | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/add-service b/add-service index d04b4e5..571a54c 100755 --- a/add-service +++ b/add-service @@ -1,6 +1,6 @@ #!/bin/bash #--------------------------------------------------------------- -# Project : Mandriva Linux +# Project : Mageia Linux # Module : rpm-helper # File : add-service # Version : $Id$ @@ -23,7 +23,7 @@ if [ $# -lt 3 ]; then fi # What init system are we currently using? -if /bin/mountpoint -q /sys/fs/cgroup/systemd; then +if [ -d /run/systemd/system/ ]; then init=systemd else init=sysvinit |