From: Peter Müller Date: Tue, 2 Aug 2022 15:09:55 +0000 (+0000) Subject: Core Update 170: Fix sed call X-Git-Tag: v2.27-core170~4^2~76 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=beb821de57b7c7ac278280ea5ae8093260baaeeb;p=ipfire-2.x.git Core Update 170: Fix sed call Fixes: #12907 Signed-off-by: Peter Müller --- diff --git a/config/rootfiles/core/170/update.sh b/config/rootfiles/core/170/update.sh index cae60a9a43..157d61216b 100644 --- a/config/rootfiles/core/170/update.sh +++ b/config/rootfiles/core/170/update.sh @@ -176,7 +176,7 @@ sed -i /etc/collectd.conf \ /etc/rc.d/init.d/suricata start # Harden mount options of /boot -sed -e -i "s@[[:space:]]*\/boot[[:space:]]*auto[[:space:]]*defaults[[:space:]]*@ \/boot auto defaults,nodev,noexec,nosuid @g" /etc/fstab +sed -e "s@[[:space:]]*\/boot[[:space:]]*auto[[:space:]]*defaults[[:space:]]*@ \/boot auto defaults,nodev,noexec,nosuid @g" /etc/fstab # Regenerate all initrds dracut --regenerate-all --force