author | František Kučera <franta-hg@frantovo.cz> |
Sat, 31 Dec 2011 18:55:19 +0100 | |
changeset 42 | be907afcf4f6 |
parent 40 | 487f13126b62 |
child 43 | 4a4364826e59 |
permissions | -rw-r--r-- |
franta-hg@40 | 1 |
#!/bin/bash |
franta-hg@40 | 2 |
# Matrixový spořič :-) |
franta-hg@40 | 3 |
|
franta-hg@40 | 4 |
case "$1" in |
franta-hg@40 | 5 |
start) |
franta-hg@40 | 6 |
echo -e "\033[22;32m"; |
franta-hg@40 | 7 |
cat /dev/urandom | hexdump; |
franta-hg@40 | 8 |
;; |
franta-hg@40 | 9 |
stop) |
franta-hg@40 | 10 |
echo -e "\033[0m"; |
franta-hg@40 | 11 |
;; |
franta-hg@40 | 12 |
*) |
franta-hg@40 | 13 |
$0 start; |
franta-hg@40 | 14 |
;; |
franta-hg@40 | 15 |
esac |
franta-hg@40 | 16 |