From: Peter Müller Date: Wed, 10 Aug 2022 21:04:36 +0000 (+0000) Subject: Core Update 170: Hrmpf, fix sed call again X-Git-Tag: v2.27-core170~4^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ff4b1fc1306f1e5f90fbbbe04c54f19517ea05ac;p=ipfire-2.x.git Core Update 170: Hrmpf, fix sed call again Signed-off-by: Peter Müller --- diff --git a/config/rootfiles/core/170/update.sh b/config/rootfiles/core/170/update.sh index f5c2f5ea6a..9978b8e684 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 -e "s@[[:space:]]*\/boot[[:space:]]*auto[[:space:]]*defaults[[:space:]]*@ \/boot auto defaults,nodev,noexec,nosuid @g" /etc/fstab +sed -i "s@[[:space:]]*\/boot[[:space:]]*auto[[:space:]]*defaults[[:space:]]*@ \/boot auto defaults,nodev,noexec,nosuid @g" /etc/fstab # Regenerate all initrds dracut --regenerate-all --force