Closed dmahony closed 8 years ago
Which OS?
Sorry, I should have clarified, for Linux on the Raspberry Pi. I sort of got it working but it runs the script for every user. I need it to run just for a single user. The lora chat app should run as it's own user so I can keep it locked down. On 15 Dec 2015 6:31 pm, "Alex Bouchard" notifications@github.com wrote:
Which OS?
— Reply to this email directly or view it on GitHub https://github.com/dmahony/Lora-Chat-Device/issues/4#issuecomment-164683197 .
You could add a line to ~/.bashrc that will run the script upon login for the current user (but if you open multiple shells, it would run it multiple times)
I have the command in /etc/bash.bashrc but I need to find where to put it for a specific user.
~/.bashrc means /home/username/.bashrc and it will run only for username
Excellent! thanks for that.
If anyone knows, please get in touch!