startup_script.sh 365 Bytes
Newer Older
German Leon's avatar
German Leon committed
1
2
3
#!/bin/bash
export MYHOME=$(echo $0|cut -d'/' -f1-3)
cd $MYHOME
German Leon's avatar
German Leon committed
4
#chmod 0666 /dev/ttyS0
German Leon's avatar
German Leon committed
5

German Leon's avatar
German Leon committed
6
 # Nos vamos al directorio donde estan los test
German Leon's avatar
German Leon committed
7
cd `grep -v \# dir_test`
German Leon's avatar
German Leon committed
8

German Leon's avatar
German Leon committed
9
10
11
12
echo "Solo lo mantenemos vivo..."

#$MYHOME/bin/serie.py
#/home/happy/bin/serie.py
German Leon's avatar
German Leon committed
13
14
15
if test -f "deleteindex.flag"; then
   rm lastFiNumber deleteindex.flag
fi   
German Leon's avatar
German Leon committed
16
17
$MYHOME/bin/id.sh
$MYHOME/bin/iamalive  
German Leon's avatar
German Leon committed
18