From: Peter Müller Date: Thu, 11 Aug 2022 10:29:12 +0000 (+0000) Subject: Core Update 170: sed supports PCRE indeed X-Git-Tag: v2.27-core170~4^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b8d84561e1bbe4c9143db0fff8242e177ba5b085;p=ipfire-2.x.git Core Update 170: sed supports PCRE indeed Signed-off-by: Peter Müller --- diff --git a/config/rootfiles/core/170/update.sh b/config/rootfiles/core/170/update.sh index 9978b8e684..b6b66f3f13 100644 --- a/config/rootfiles/core/170/update.sh +++ b/config/rootfiles/core/170/update.sh @@ -191,7 +191,7 @@ rm -rvf /var/log/rrd/collectd/localhost/processes-mysqld \ /etc/rc.d/init.d/suricata start # Harden mount options of /boot -sed -i "s@[[:space:]]*\/boot[[:space:]]*auto[[:space:]]*defaults[[:space:]]*@ \/boot auto defaults,nodev,noexec,nosuid @g" /etc/fstab +sed -E -i "s/\s+\/boot\s+auto\s+defaults\s+/ \/boot auto defaults,nodev,noexec,nosuid /g" /etc/fstab # Regenerate all initrds dracut --regenerate-all --force