mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-26 08:55:24 +00:00 
			
		
		
		
	git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
		
			
				
	
	
		
			43 lines
		
	
	
		
			684 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			684 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| #set -x
 | |
| 
 | |
| #################################################################################
 | |
| #   Load functions and variables
 | |
| #
 | |
| . /etc/init.d/functions
 | |
| #
 | |
| ################################################################################
 | |
| 
 | |
| #################################################################################
 | |
| #
 | |
| #   main
 | |
| #
 | |
| {
 | |
| 
 | |
| ping_test
 | |
| 
 | |
| get_scripts_directory
 | |
| 
 | |
| if [ ! -z $HOSTNAME ]; then
 | |
|     logmsg
 | |
|     logmsg "This hosts name is: $HOSTNAME"
 | |
| fi
 | |
| 
 | |
| run_pre_install_scripts
 | |
| 
 | |
| choose_autoinstall_script
 | |
| 
 | |
| write_variables
 | |
| beep
 | |
| 
 | |
| run_autoinstall_script
 | |
| 
 | |
| } 2>&1 | send_monitor_stdout
 | |
| 
 | |
| #
 | |
| #################################################################################
 | |
| 
 | |
| exit 0
 | |
| 
 |