startup_script.sh 348 Bytes
Newer Older
German Leon's avatar
German Leon committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
export MYHOME=$(echo $0|cut -d'/' -f1-3)
cd $MYHOME
#chmod 0666 /dev/ttyS0

 # Nos vamos al directorio donde estan los test
cd `grep -v \# dir_test`

echo "Solo lo mantenemos vivo..."

#$MYHOME/bin/serie.py
#/home/happy/bin/serie.py
if test -f "deleteindex.flag"; then
   rm lastFiNumber deleteindex.flag
fi   

$MYHOME/bin/iamalive