xcat-core/xCAT-nbroot/overlay/bin/restart
jbjohnso a0a692eacb Relocate the nbroot to /opt/xcat/share/netboot
-Override init with our own in order to preserve control of PID 1 (for switch_root)
-Change nbroot shell to actually call shell and loop, rather than exit since that would be init trying to exit now
-Increase destiny retrieval interval a bit to be less harsh, don't background as this must continue to be PID 1


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@363 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-29 21:22:34 +00:00

8 lines
230 B
Plaintext
Executable File

# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
#Redhcp, do the xcat part again
rm /restart
killall -12 udhcpc;killall -10 udhcpc
sleep 5
/etc/init.d/S11stunnel #redo stunnel config
exec /etc/init.d/S99xcat.sh