startup_script.sh 434 Bytes
Newer Older
German Leon's avatar
German Leon committed
1
#!/bin/bash
German Leon's avatar
German Leon committed
2
3
4

# start the four cores
#/home/ubuntu/bin/startcores
German Leon's avatar
German Leon committed
5
6
export MYHOME=$(echo $0|cut -d'/' -f1-3)
cd $MYHOME
German Leon's avatar
German Leon committed
7
#chmod a+rw /dev/watchdog0
German Leon's avatar
German Leon committed
8

German Leon's avatar
German Leon committed
9
10
date>> reboot.log
export LD_LIBRARY_PATH=/usr/local/cuda/lib64
German Leon's avatar
German Leon committed
11

German Leon's avatar
German Leon committed
12
13
# Nos vamos al directorio donde estan los test
cd `grep -v \# dir_test`
German Leon's avatar
German Leon committed
14

German Leon's avatar
German Leon committed
15
#tools/serie.py
German Leon's avatar
German Leon committed
16
17
18
19
if test -f "deleteindex.flag"; then
   rm lastFiNumber deleteindex.flag
fi   

German Leon's avatar
German Leon committed
20
21
22
#/bin/bash

$MYHOME/bin/iamalive_ini 20 10  &
German Leon's avatar
German Leon committed
23

German Leon's avatar
German Leon committed
24
./test.sh