REAL zelda
This commit is contained in:
		
							parent
							
								
									d3a683741e
								
							
						
					
					
						commit
						dd65b642dc
					
				
							
								
								
									
										
											BIN
										
									
								
								homepage/zelda.wav
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								homepage/zelda.wav
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										21
									
								
								homepage/zeldb.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										21
									
								
								homepage/zeldb.sh
									
									
									
									
									
										Executable file
									
								
							@ -0,0 +1,21 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					die() { return 1 || exit 1 }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if ! which curl >/dev/null 2>&1; then
 | 
				
			||||||
 | 
						printf "1n574ll curl, 5700p1d!\n"
 | 
				
			||||||
 | 
						die
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ZELDA="http://www.trinity.moe/zelda.wav"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if which aplay >/dev/null 2>&1; then
 | 
				
			||||||
 | 
						curl "$ZELDA" | aplay
 | 
				
			||||||
 | 
					elif ls /dev/dsp >/dev/null 2>&1; then
 | 
				
			||||||
 | 
						curl "$ZELDA" >/dev/dsp
 | 
				
			||||||
 | 
					else
 | 
				
			||||||
 | 
						printf "Unknown sound device. Sorry!\n"
 | 
				
			||||||
 | 
						die
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					return 0 || exit 0
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user