]> TLD Linux GIT Repositories - rc-scripts.git/blobdiff - rc.d/rc.shutdown
- fix ugly typo
[rc-scripts.git] / rc.d / rc.shutdown
index 8c86fa4cf64223a7d814aed6b41b3f1730ea92e4..02d839e477ee19626552c14c697b48b0b6b0d99c 100755 (executable)
@@ -76,7 +76,7 @@ else
        UMOUNT_IGNORE="/ $UMOUNT_IGNORE"
 fi
 remaining=$(awk -v ig="^($UMOUNT_IGNORE)$" 'BEGIN { gsub(/[\t ]+/, "|", ig); } \
-               $3 !~ /^(proc|loopfs|devpts|devtmpfs|shm|iso9660|ramfs|tmpfs|cgroup|cgroup2|sysfs|securityfs|squashfs)$/ \
+               $3 !~ /^(proc|loopfs|devpts|devtmpfs|shm|iso9660|ramfs|tmpfs|cgroup|cgroup2|sysfs|securityfs|efivarfs|squashfs)$/ \
                && $1 !~ /^(none|\/dev\/root)$/ \
                && $2 !~ ig {print $2}' /proc/mounts)
 while [ -n "$remaining" -a "$retry" -gt 0 ]; do
@@ -92,7 +92,7 @@ while [ -n "$remaining" -a "$retry" -gt 0 ]; do
                fi
        done
 
-       show "Unmounting remainging file systems"; busy
+       show "Unmounting remaining file systems"; busy
        ERRORS=$(umount -a $force -t noproc,nosysfs,notmpfs,nodevpts,nodevtmpfs 2>&1); rc=$
 
        # we might had unmounted /usr, recheck $TPUT availability
@@ -115,7 +115,7 @@ while [ -n "$remaining" -a "$retry" -gt 0 ]; do
 
        sleep 2
        remaining=$(awk -v ig="^($UMOUNT_IGNORE)$" 'BEGIN { gsub(/[\t ]+/, "|", ig); } \
-                       $3 !~ /^(proc|loopfs|devpts|devtmpfs|shm|iso9660|ramfs|tmpfs|cgroup|cgroup2|sysfs|securityfs|squashfs)$/ \
+                       $3 !~ /^(proc|loopfs|devpts|devtmpfs|shm|iso9660|ramfs|tmpfs|cgroup|cgroup2|sysfs|securityfs|efivarfs|squashfs)$/ \
                        && $1 !~ /^(none|\/dev\/root)$/ \
                        && $2 !~ ig {print $2}' /proc/mounts)
        [ -z "$remaining" ] && break