vstup/matrixový-spořič.sh
changeset 83 b8e5f8f9c77b
parent 43 4a4364826e59
child 87 25dec6931f18
equal deleted inserted replaced
82:90a58fca78e5 83:b8e5f8f9c77b
     1 #!/bin/bash
     1 #!/bin/bash
     2 # Matrixový spořič :-)
     2 # Matrixový spořič :-)
     3 
     3 
     4 case "$1" in
     4 case "$1" in
     5     start)
     5 	start)
     6         echo -e "\033[22;32m";
     6 		echo -e "\033[22;32m";
     7         cat /dev/urandom | hexdump;
     7 		cat /dev/urandom | hexdump;
     8 ;;
     8 ;;
     9     stop)
     9 	stop)
    10         echo -e "\033[0m";
    10 		echo -e "\033[0m";
    11 ;;
    11 ;;
    12     *)
    12 	*)
    13         $0 start;
    13 		$0 start;
    14 ;;
    14 ;;
    15 esac
    15 esac