diff --git a/setup.sh b/setup.sh index 5a1ecb2..d599e74 100644 --- a/setup.sh +++ b/setup.sh @@ -13,10 +13,6 @@ trap '[ "$?" -ne 77 ] || exit 77' ERR declare zpool_drive efi_drive -function set_ntp () { - timedatectl set-ntp true -} - function we_are_changerooted () { if [ "$(stat -c '%d:%i' '/')" != "$(stat -c '%d:%i' '/proc/1/root/.')" ]; then return 0 @@ -25,6 +21,10 @@ function we_are_changerooted () { fi } +function set_ntp () { + timedatectl set-ntp true +} + function update_pacman_db () { printf -- '%s\n' 'Refreshing mirror list ...' systemctl start reflector