Chroot: Fix sed command to keep at least a slash…

This commit is contained in:
Jeremy Gardais 2019-04-05 17:24:56 +02:00
parent b873299c0e
commit 81700aed1b
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ grep "/var/tmp" /target/etc/fstab || echo "/tmp /var/tmp no
### Remove all occurrences to target and avoid double slashs ### Remove all occurrences to target and avoid double slashs
sed -i 's;target;;g' /target/etc/fstab sed -i 's;target;;g' /target/etc/fstab
sed -i 's;//;;g' /target/etc/fstab sed -i 's;//;/;g' /target/etc/fstab
## }}} ## }}}
## Network {{{ ## Network {{{
### Get all informations from current network configuration in rescue mode ### Get all informations from current network configuration in rescue mode