diff options
| -rw-r--r-- | recipes-ids/suricata/suricata_7.0.0.bb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/recipes-ids/suricata/suricata_7.0.0.bb b/recipes-ids/suricata/suricata_7.0.0.bb index dc55fdf..f2df09e 100644 --- a/recipes-ids/suricata/suricata_7.0.0.bb +++ b/recipes-ids/suricata/suricata_7.0.0.bb | |||
| @@ -131,9 +131,7 @@ do_install () { | |||
| 131 | } | 131 | } |
| 132 | 132 | ||
| 133 | pkg_postinst_ontarget:${PN} () { | 133 | pkg_postinst_ontarget:${PN} () { |
| 134 | if command -v systemd-tmpfiles >/dev/null; then | 134 | if [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then |
| 135 | systemd-tmpfiles --create ${sysconfdir}/tmpfiles.d/suricata.conf | ||
| 136 | elif [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then | ||
| 137 | ${sysconfdir}/init.d/populate-volatile.sh update | 135 | ${sysconfdir}/init.d/populate-volatile.sh update |
| 138 | fi | 136 | fi |
| 139 | } | 137 | } |
