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

Re: Script which runs after first reboot only?



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


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