mirror of
				https://git.lapiole.org/dani/ansible-roles.git
				synced 2025-11-04 04:41:27 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			202 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			202 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/bash -e
 | 
						|
  
 | 
						|
if [[ "${SFTPGO_AUTHD_USERNAME:=}" != "anonymous" ]]; then
 | 
						|
  cat <<_EOF
 | 
						|
{
 | 
						|
  "status": 2,
 | 
						|
  "to_verify": "${SFTPGO_AUTHD_PASSWORD:=}"
 | 
						|
}
 | 
						|
_EOF
 | 
						|
else
 | 
						|
  cat <<_EOF
 | 
						|
{
 | 
						|
  "status": 1
 | 
						|
}
 | 
						|
_EOF
 | 
						|
fi
 |