automatically creating dir
This commit is contained in:
		
							parent
							
								
									b3e0800de5
								
							
						
					
					
						commit
						edfbab37fc
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -21,6 +21,7 @@ RED="\e[31m"
 | 
			
		|||
YELLOW="\e[33m"
 | 
			
		||||
ENDCOLOR="\e[0m"
 | 
			
		||||
 | 
			
		||||
mkdir $mntpoint &> /dev/null
 | 
			
		||||
if $doso mount -U $sd_uuid $mntpoint; then
 | 
			
		||||
	echo -e "[✅]$GREEN Mounted SD successfully$ENDCOLOR"
 | 
			
		||||
else echo -e "[❌] $RED Failed to mount SD$ENDCOLOR" && exit 1;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue