author | František Kučera <franta-hg@frantovo.cz> |
Sun, 20 Oct 2013 22:22:55 +0200 | |
changeset 133 | 8628ef19f353 |
parent 120 | 4d33f14e99dd |
permissions | -rwxr-xr-x |
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@83 | 5 |
start) |
franta-hg@83 | 6 |
echo -e "\033[22;32m"; |
franta-hg@83 | 7 |
cat /dev/urandom | hexdump; |
franta-hg@40 | 8 |
;; |
franta-hg@83 | 9 |
stop) |
franta-hg@83 | 10 |
echo -e "\033[0m"; |
franta-hg@40 | 11 |
;; |
franta-hg@83 | 12 |
*) |
franta-hg@83 | 13 |
$0 start; |
franta-hg@40 | 14 |
;; |
franta-hg@40 | 15 |
esac |
franta-hg@87 | 16 |