/
githubmirror
/
audit-userspace
Обзор
Документация
Войти
/
githubmirror
/
audit-userspace
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
init.d/auditd.condrestart
12 строк
281 B
Paul Bolle
Remove awk call in condrestart legacy script (#452)
21 май 2025, 14:30
Не верифицирован
21 май 2025, 14:30
ff0e5f8
Код
Авторство
О чём код?
#!/bin/sh # Helper script to provide legacy auditd service options not # directly supported by systemd. state=$(systemctl show -P ActiveState auditd) if [ "$state" = "active" ] ; then /sbin/auditctl --signal stop /bin/systemctl start auditd RETVAL="$?" exit $RETVAL fi exit 0