i have a requirement to auto execute a script as soon as the root user logs in.
- My script CF.sh is placed under /home of my QNX pc
- The CF.sh will just clear the screen and asks for the user input
(a) to mount and read the CF
(b) to exit the menu
- Following is the script i have written in .profile to auto execute my CF.sh script.
Let me know am i missing something… or is there any other way to do it
Thanks in Advance