You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							16 lines
						
					
					
						
							225 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							16 lines
						
					
					
						
							225 B
						
					
					
				
								#!/bin/sh
							 | 
						|
								
							 | 
						|
								. /etc/init.d/globals
							 | 
						|
								
							 | 
						|
								case $1 in
							 | 
						|
									stop)
							 | 
						|
										for sdX in /dev/sd[a-z]; do
							 | 
						|
											test -b $sdX || continue
							 | 
						|
											LOGINFO "stopping $sdX"
							 | 
						|
											sg_start --stop $sdX
							 | 
						|
										done
							 | 
						|
									;;
							 | 
						|
									*)
							 | 
						|
										echo "[${BASENAME}] Usage: $0 {stop}"
							 | 
						|
									;;
							 | 
						|
								esac
							 | 
						|
								
							 |