User's initial script

Hi, There,

The rc.local a script for all uses, but is there a way for normal user to run a script automatically, after they login in photon and/or in text mode?

Thanks in advance

take a look at /etc/profile

When a user logs in at the command line the .profile script is executed.
This will happen before photon starts, but if the system starts photon automatically, it’s near enough I would have thought.

If you must do something after Photon has started the write your script
and call it from the file $HOME/.ph/phapps
This file is run once photon is running and after the user logs in.

Note phapps does not exist by default, you will have to create it and make it executable.

The $HOME/.ph/phapps works! Thanks a lot.