I have a couple RPi's running remotely. Seldom is there a reboot. When there is I have to reload the program using B4J.
My question is How can I have the Raspberry Pi start with the bridge running and Load the last program that I loaded to it when it reboots.
I have been using /etc/rc.local to start the bridge, that always works fine.
I have tried several options to load the AsyncInput2 (jar) file and I can get it to run parts of the program, however I can not load a new program using the B4j it says there is addresses in use.
There must be a easy way to do this ... can someone point me in the correct direction?
My question is How can I have the Raspberry Pi start with the bridge running and Load the last program that I loaded to it when it reboots.
I have been using /etc/rc.local to start the bridge, that always works fine.
I have tried several options to load the AsyncInput2 (jar) file and I can get it to run parts of the program, however I can not load a new program using the B4j it says there is addresses in use.
There must be a easy way to do this ... can someone point me in the correct direction?