1

How can my system run a command every time that it is started?

Is there any script that the system runs when it is starting?

I'm using CentOS 6.2.

Raphael Ahrens
  • 9,701
  • 5
  • 37
  • 52
Alireza Fallah
  • 709
  • 5
  • 14
  • 25

1 Answers1

0

Put the script in the /etc/profile.d It will run every time you sign in, thats how we do it for RedHat.

Eric
  • 1,401
  • 13
  • 10