[CentOS] 6.5 single user mode

Tue Feb 4 20:04:05 UTC 2014
Steve Clark <sclark at netwolves.com>

Hello List,

I want to boot into single user mode and run a script automatically.

I have been looking for a couple of hours and have found one solution I don't like.

How can I get the shell that is started in single user mode to run a script. My one solution
was to add a profile in /etc/profile.d/ that called the script. Is this the only way to do it?

Thanks,


-- 
Stephen Clark
*NetWolves*
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.clark at netwolves.com
http://www.netwolves.com