8400 questions

9885 answers

15679 comments

14155 members

0 votes
605 views 1 comments
by

Hi,

I have two bash scripts I want to run on start-up, but they are not being executed.

The scripts work fine over SHH and from the CLI.

The Start Script I have is:

# Put your custom commands here that should be executed once

# the system init finished. By default this file does nothing.

# GPS Logger to log coordinates every 60s

/bin/gps-logger.sh

# GPS Updater to update coordinates of the 'Parked' geofence every 60s

/bin/geofence-updater.sh

exit 0

What am I doing wrong?

F/W is RUT9XX_R_00.06.00.4 as anything later than that doesn't have functioning GPS.

Thanks!

1 Answer

0 votes
by
Hello,

you need to send them to background using & symbol.

If your scripts do not exit then executed this script hangs on /bin/gps-logger.sh
by
OK, thanks - that works!

Now I have another issue re geofence logic; but I'll open another thread for that.