diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
commit | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch) | |
tree | 326613a08f25851c388715e205576a2e7d25dc4f /eclass/mount-boot.eclass | |
parent | b24bd25253fe093f722ab576d29fdc41d04cb1ee (diff) |
gentoo resync : 18.08.2019
Diffstat (limited to 'eclass/mount-boot.eclass')
-rw-r--r-- | eclass/mount-boot.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/mount-boot.eclass b/eclass/mount-boot.eclass index 4d886c8d8475..938df6732f43 100644 --- a/eclass/mount-boot.eclass +++ b/eclass/mount-boot.eclass @@ -54,7 +54,7 @@ mount-boot_check_status() { # note that /dev/BOOT is in the Gentoo default /etc/fstab file local fstabstate=$(awk '!/^#|^[[:blank:]]+#|^\/dev\/BOOT/ {print $2}' /etc/fstab | egrep "^/boot$" ) local procstate=$(awk '$2 ~ /^\/boot$/ {print $2}' /proc/mounts) - local proc_ro=$(awk '{ print $2 " ," $4 "," }' /proc/mounts | sed -n '/\/boot .*,ro,/p') + local proc_ro=$(awk '{ print $2 " ," $4 "," }' /proc/mounts | sed -n '/^\/boot .*,ro,/p') if [ -n "${fstabstate}" ] && [ -n "${procstate}" ] ; then if [ -n "${proc_ro}" ] ; then |