-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
		
			
				
	
	
		
			11 lines
		
	
	
		
			192 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			192 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
 | 
						|
 | 
						|
while ! /bin/getdestiny
 | 
						|
do
 | 
						|
    echo "Retrying destiny retrieval"
 | 
						|
    sleep 3
 | 
						|
    ifconfig 
 | 
						|
done
 | 
						|
. /bin/dodestiny
 |