 866c55dced
			
		
	
	866c55dced
	
	
	
		
			
			Commit cc5ecb4e9c switched from using
run-parts in favor of dib-run-parts.
/usr/local/bin isn't part of PATH on Ubuntu causing
"/usr/sbin/dib-first-boot: line 8: dib-run-parts: command not found".
Change-Id: Ia7e401221add197edf880af82e0148f3ba7d2b9c
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			232 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			232 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| set -e
 | |
| set -o xtrace
 | |
| 
 | |
| touch /var/log/first-boot.d.log
 | |
| chmod 0600 /var/log/first-boot.d.log
 | |
| 
 | |
| /usr/local/bin/dib-run-parts /etc/first-boot.d >> /var/log/first-boot.d.log 2>&1
 | |
| rm -fr /etc/first-boot.d
 | |
| # delete itself
 | |
| rm $0
 |