ragps/start_gps.sh

9 lines
172 B
Bash
Executable File

#!/bin/sh
script=$(realpath $0)
sp=$(dirname $script)
echo $sp
${sp}/gps_init5.sh
for u in /dev/ttyUSB*; do
nohup ${sp}/gps_init_ser.sh $(basename $u) &>/dev/null &
done