rebooting in postscripts should be OK if you run SuSEconfig before rebooting. Usually SuSEconfig is the last thing run after the post scripts are executed. The solution belwoe might also be a good idea, did not test it though. Alternative is to schedule a reboot using atd :-) Anas Roy Butler wrote:
Peter,
I'm not positive, but I think it may be a problem. What I believe would work in any case would be to create a post-script like so:
#!/bin/sh
cat /etc/init.d/rc3.d/S99reboot << EOF
#!/bin/sh rm /etc/init.d/rc3.d/S99reboot reboot
EOF
Good luck, Roy
Peter Schwenk wrote:
Hello:
I am using autoyast w/ SuSE 9.0, and I was wondering if it is a bad idea to reboot the system at the end of a post-script? Are there steps after the post-script that would be skipped? I'm doing an online_update in the post-script, and I would like to make sure that the system comes up with the new kernel. Thanks in advance for your help!
--
- Peter A. Schwenk | Mathematical Sciences
- schwenk@math.udel.edu | University of Delaware
- (302) 831-0437 | Newark, DE 19716-2553 USA