Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
#!/usr/bin/env bash
slowFortune() {
/usr/games/fortune -l > ./fortune && while ! sqlIsListening && read line; do echo $line; sleep 1 ; done < ./fortune
printf "\n~ fin...? ~\n\n"
sqlIsListening() {
return `lsof -i | grep LISTEN | grep -qs sqlservr; echo $?`
while ! sqlIsListening; do slowFortune; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.