File aaa_base-rc.status.patch of Package aaa_base.37831
--- aaa_base-84.87+git20180409.04c9dae/files/etc/rc.status 2025/03/11 10:58:42 1.1
+++ aaa_base-84.87+git20180409.04c9dae/files/etc/rc.status 2025/03/11 10:58:55
@@ -33,7 +33,7 @@
#
# Check if the service is used under systemd but not started with
-if test -z "$SYSTEMD_NO_WRAP" && /usr/bin/mountpoint -q /sys/fs/cgroup/systemd; then
+if test -z "$SYSTEMD_NO_WRAP" && grep -q systemd /proc/1/cmdline ; then
if test $PPID -ne 1 -a $# -eq 1 ; then
_rc_base=
_sd_opts=