3-xen-orchestra-install #4
							
								
								
									
										8
									
								
								setup.sh
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								setup.sh
									
									
									
									
									
								
							| @@ -13,10 +13,6 @@ trap '[ "$?" -ne 77 ] || exit 77' ERR | |||||||
|  |  | ||||||
| declare zpool_drive efi_drive | declare zpool_drive efi_drive | ||||||
|  |  | ||||||
| function set_ntp () { |  | ||||||
|     timedatectl set-ntp true |  | ||||||
| } |  | ||||||
|  |  | ||||||
| function we_are_changerooted () { | function we_are_changerooted () { | ||||||
|     if [ "$(stat -c '%d:%i' '/')" != "$(stat -c '%d:%i' '/proc/1/root/.')" ]; then |     if [ "$(stat -c '%d:%i' '/')" != "$(stat -c '%d:%i' '/proc/1/root/.')" ]; then | ||||||
|         return 0 |         return 0 | ||||||
| @@ -25,6 +21,10 @@ function we_are_changerooted () { | |||||||
|     fi |     fi | ||||||
| } | } | ||||||
|  |  | ||||||
|  | function set_ntp () { | ||||||
|  |     timedatectl set-ntp true | ||||||
|  | } | ||||||
|  |  | ||||||
| function update_pacman_db () { | function update_pacman_db () { | ||||||
|     printf -- '%s\n' 'Refreshing mirror list ...' |     printf -- '%s\n' 'Refreshing mirror list ...' | ||||||
|     systemctl start reflector |     systemctl start reflector | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user