123456789101112131415161718192021222324252627282930313233 |
- #!/bin/bash
- if [ "$1" == "" ]; then
- tty=/dev/ttyUSB0
- else
- tty=$1
- fi
- stty -F $tty cs8 raw speed 9600 >/dev/null
- printf "\n\000\000\000\170\000\301" >$tty
- printf " " >$tty
- printf "Io sono divano-bot 1.0" >$tty
- printf " ____/\/\/\/\/\/\/\/\/\____ " >$tty
- printf " Porco dio " >$tty
- printf " ____/\/\/\/\/\/\/\/\/\____ " >$tty
- sleep 20
- printf "\n\000\002" >$tty
- for i in {1..3}; do
- printf "JIGEN MERDA!" >$tty
- sleep 1
- printf "\n" >$tty
- sleep 1
- done
- printf "\000\174\000\301" >$tty
- printf " " >$tty
- printf "\370\370\370\370\370\370\370\370\370" >$tty
- sleep 8
- printf "\n\000\002" >$tty
- printf "XM24 RESISTE." >$tty
|