PHP 8.2.30
Preview: syslog-cleanup.sh Size: 407 B
/proc/thread-self/root/proc/thread-self/root/proc/thread-self/root/lib/dracut/modules.d/98syslog/syslog-cleanup.sh

#!/bin/sh

# Just cleans up a previously started syslogd

type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh

if [ -f /tmp/syslog.server ]; then
    read syslogtype < /tmp/syslog.type
    if command -v "${syslogtype}-stop" >/dev/null; then
        ${syslogtype}-stop
    else
        warn "syslog-cleanup: Could not find script to stop syslog of type \"$syslogtype\". Syslog will not be stopped."
    fi
fi

Directory Contents

Dirs: 0 × Files: 7

Name Size Perms Modified Actions
1.14 KB lrwxr-xr-x 2025-12-17 18:54:47
Edit Download
1.13 KB lrwxr-xr-x 2018-10-08 13:38:33
Edit Download
833 B lrw-r--r-- 2025-12-17 18:54:47
Edit Download
820 B lrw-r--r-- 2018-10-08 13:38:33
Edit Download
1.20 KB lrwxr-xr-x 2018-10-08 13:38:33
Edit Download
286 B lrwxr-xr-x 2018-10-08 13:38:33
Edit Download
407 B lrwxr-xr-x 2018-10-08 13:38:33
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).