Re: %post script to get my files off CD.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Lloyd Thompson wrote:
1) Given that I have 2 executables which I wish to run (one in the
background) every time on start up (I'm not using X), which file should I
put the commands in?

I would normally run my progs at command prompt with:

./LCDd -someargs &
./kecoss

These are the only executeables I ever wish the system to run, and I dont
want a to have to type a password as the host will be controlled by numeric
keypad.


Put them in /etc/rc.d/rc.local:

%post
echo "/path/to/executable/LCDd -somearge &" >> /etc/rc.d/rc.local
echo "/path/to/executable/kecoss" >> /etc/rc.d/rc.local


Forrest
--





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux