Re: Script which runs after first reboot only?

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

 



On Thu, 2006-04-27 at 18:57 -0700, Pat wrote:
> 
> Where do I place this script so it only runs once
> after the first reboot? Thanks for any help!
> 

In %post, copy /etc/rc.local to /etc/rc.local.back, insert your script
into the end of /etc/rc.local, add to the end of your script a move
of /etc/rc.local.back to /etc/rc.local

And you're done (;

-- 
Jesse Keating RHCE      (geek.j2solutions.net)
Fedora Legacy Team      (www.fedoralegacy.org)
GPG Public Key          (geek.j2solutions.net/jkeating.j2solutions.pub)

Attachment: signature.asc
Description: This is a digitally signed message part


[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