slitaz-boot-scripts rev 404
init: typo (thanks az_ua)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 01 10:55:30 2015 +0200 (2015-08-01) |
parents | 0c9119dea7b8 |
children | 40d7ae9259a9 |
files | init |
line diff
1.1 --- a/init Mon Jul 06 02:06:43 2015 +0300 1.2 +++ b/init Sat Aug 01 10:55:30 2015 +0200 1.3 @@ -89,7 +89,7 @@ 1.4 1.5 mnt() 1.6 { 1.7 -r=$(blkid 2> /dev/null | sed "s|\"||g;|$root|!d;s|:.*||;q") 1.8 +r=$(blkid 2> /dev/null | sed "s|\"||g;/$root/!d;s|:.*||;q") 1.9 r=${r:-$root} 1.10 r=${r#/dev/} 1.11 r=/dev/${r%%/*}