]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Core 76: Fix sed command.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 18 Jan 2014 17:05:32 +0000 (18:05 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 18 Jan 2014 17:27:44 +0000 (18:27 +0100)
There was a syntax error in one of the sed commands, which produced the following error:
sed: -e expression #1, char 34: unknown option to `s'.

config/rootfiles/core/76/update.sh

index bba943026efe242c0be0d685e27bbe1d1859b4d8..cf0d2f96d85b87c619f203c5a19a3a752e02e2b9 100644 (file)
@@ -267,7 +267,7 @@ sed -i -e "s/tty1 9600$/tty1 9600 --noclear/g" /etc/inittab
 sed -i -e "s/^proc/#proc/g" /etc/fstab
 sed -i -e "s/^sysfs/#sysfs/g" /etc/fstab
 sed -i -e "s/^devpts/#devpts/g" /etc/fstab
-sed -i -e "s|^none\s/var/run|#none     /var/run|/g" /etc/fstab
+sed -i -e "s|^none\s/var/run|#none     /var/run|g" /etc/fstab
 
 # Convert udev persistent network rules
 sed -i -e "s/SYSFS{/ATTR{/g" /etc/udev/rules.d/30-persistent-network.rules