Post reboot commands (howto?)

athos10 athos10 at altern.org
Sat Mar 5 10:31:09 UTC 2005


Hi,

May modify firstboot script and package. If you can't or don't want to
modify rpm, you could modify firstboot script using %post.


Friendly

Athos10
Michael Aubertin
michael.aubertin at free.fr
athos10 at altern.org



Le vendredi 04 mars 2005 à 11:31 -0800, niko a écrit :
>Hello,
>
>I am using kickstart (EL3) to setup machines over the network. I would like to
>be able to run a script only once when the machine reboots after a successful
>installation (script must run with the right kernel and so on...)
>
>The %post sequence is executed before the reboot so that is not doing it.
>I was thinking of adding a 'runonce' file in /etc/init.d to do the work and
>remove itself. Has anyone a better solution?
>
>Niko
>





More information about the Kickstart-list mailing list