Chroot: Fix sed command to keep at least a slash…
This commit is contained in:
parent
b873299c0e
commit
81700aed1b
|
@ -198,7 +198,7 @@ grep "/var/tmp" /target/etc/fstab || echo "/tmp /var/tmp no
|
|||
|
||||
### Remove all occurrences to target and avoid double slashs
|
||||
sed -i 's;target;;g' /target/etc/fstab
|
||||
sed -i 's;//;;g' /target/etc/fstab
|
||||
sed -i 's;//;/;g' /target/etc/fstab
|
||||
## }}}
|
||||
## Network {{{
|
||||
### Get all informations from current network configuration in rescue mode
|
||||
|
|
Loading…
Reference in New Issue