parent
					
						
							
								e997e98a73
							
						
					
				
			
			
				commit
				
					
						aba1ae68f0
					
				
			
		
					 1 changed files with 2 additions and 5 deletions
				
			
		| 
						 | 
					@ -21,10 +21,7 @@ case "$os" in
 | 
				
			||||||
            lsblk -e 1,2,11 -dno name | xargs
 | 
					            lsblk -e 1,2,11 -dno name | xargs
 | 
				
			||||||
        else
 | 
					        else
 | 
				
			||||||
            # fallback
 | 
					            # fallback
 | 
				
			||||||
            find /dev \
 | 
					            cd /dev && echo [vsh]d?
 | 
				
			||||||
                -type b \
 | 
					 | 
				
			||||||
                -regex '/dev/\(hd\|sd\|vd\)[a-z]+' \
 | 
					 | 
				
			||||||
                -printf '%f '
 | 
					 | 
				
			||||||
        fi
 | 
					        fi
 | 
				
			||||||
    ;;
 | 
					    ;;
 | 
				
			||||||
esac
 | 
					esac
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue