Fis systemd support on debian system version 13 (trixie) or newer.

This commit is contained in:
2025-12-15 01:23:16 +01:00
parent cc155c578a
commit b87793cbad
12 changed files with 68 additions and 30 deletions

View File

@@ -182,9 +182,11 @@ fi
# - Is this a systemd system?
# -
if [[ "X`which systemd`" = "X" ]]; then
systemd_exists=false
else
systemd_exists=false
systemd=$(which systemd)
systemctl=$(which systemctl)
if [[ -n "$systemd" ]] || [[ -n "$systemctl" ]] ; then
systemd_exists=true
fi