mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-30 18:07:15 +00:00 
			
		
		
		
	Support Solaris
This commit is contained in:
		
							parent
							
								
									22ea4004e1
								
							
						
					
					
						commit
						e3c66532c5
					
				
							
								
								
									
										2
									
								
								acme.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								acme.sh
									
									
									
									
									
								
							| @ -423,7 +423,7 @@ _ss() { | |||||||
|         netstat -an -p tcp | grep LISTEN | grep ":$_port " |         netstat -an -p tcp | grep LISTEN | grep ":$_port " | ||||||
|       elif netstat -help 2>&1 | grep -- '-P protocol' >/dev/null ; then |       elif netstat -help 2>&1 | grep -- '-P protocol' >/dev/null ; then | ||||||
|         #for solaris |         #for solaris | ||||||
|         netstat -an -P tcp | grep "\.$_port " |         netstat -an -P tcp | grep "\.$_port " | grep "LISTEN" | ||||||
|       else |       else | ||||||
|         netstat -ntpl | grep ":$_port " |         netstat -ntpl | grep ":$_port " | ||||||
|       fi |       fi | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user