From 33dfd1f506fcfd1acccdae10b364c4c47944647b Mon Sep 17 00:00:00 2001 From: teldra Date: Sun, 9 May 2021 12:58:08 +0200 Subject: [PATCH] fixes --- modules/10-disk/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/10-disk/config b/modules/10-disk/config index 158e351..72581b3 100644 --- a/modules/10-disk/config +++ b/modules/10-disk/config @@ -16,10 +16,10 @@ for i in $(find /dev/disk/by-id/ -type l -printf "%P\n"|grep -v "part" |tac); do if [[ "${name}" == *"/dev/sr"* ]]; then continue fi - if [[ ! "${name}" == "ata-"* ]]; then + if [[ "${name}" == "ata-"* ]]; then continue fi - if [[ ! "${name}" == "usb-"* ]]; then + if [[ "${name}" == "usb-"* ]]; then continue fi index=$(( index + 1 ))