Skip to content

Instantly share code, notes, and snippets.

@faleev
Created May 22, 2013 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save faleev/5627550 to your computer and use it in GitHub Desktop.
Save faleev/5627550 to your computer and use it in GitHub Desktop.
/etc/rc.local:
#!/bin/sh -e
#
# rc.local
#
watch -t -n 1 sh -c "echo -en ''; date '+%d.%m.%y' | figlet -w 70 -c; date '+%H:%M' | figlet -w 70 -c -f banner; cat /tmp/unntweather" &
exit 0
/usr/local/share/bin/grepweather.sh:
#!/bin/bash
echo "`weather -m --id=UNNT | grep 'Temperature' | sed -e 's/Temperature/T/' | figlet -c -w 70`
`weather -m --id=UNNT | grep -v 'Temperature'`" > /tmp/unntweather
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment