mirror of
				https://github.com/brain-hackers/brain-config.git
				synced 2025-11-04 06:28:39 +09:00 
			
		
		
		
	reload raspi-config after a user-initiated update
This commit is contained in:
		@@ -213,8 +213,9 @@ do_boot_behaviour() {
 | 
			
		||||
do_update() {
 | 
			
		||||
  apt-get update &&
 | 
			
		||||
  apt-get install raspi-config &&
 | 
			
		||||
  printf "To start raspi-config again, do 'sudo raspi-config'. Now exiting\n"
 | 
			
		||||
  exit 0
 | 
			
		||||
  printf "Sleeping 5 seconds before reloading raspi-config\n" &&
 | 
			
		||||
  sleep 5 &&
 | 
			
		||||
  exec raspi-config
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
do_finish() {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user