macbookpro linux install hooks

[root@arch usr]# cat /boot/refind_linux.conf 
"Boot with standard options"  "ro root=UUID=3ff5c47a-fda5-be42-b402-d6c4ddf8634f intel_iommu=on iommu=pt efi=noruntime text"
#"Boot to single-user mode"    "ro root=UUID=3ff5c47a-fda5-be42-b402-d6c4ddf8634f intel_iommu=on iommu=pt efi=noruntime text single"
#"Boot with minimal options"   "ro root=/dev/nvme1n1p5"
[root@arch usr]# cat /etc/mkinitcpio.conf |grep thunderbolt
HOOKS=(base udev autodetect modconf block filesystems keyboard fsck thunderbolt)
# thunderbolt3 
MODULES="thunderbolt"
[root@arch usr]# cat /etc/initcpio/install/thunderbolt
#!/bin/bash
build() {
    add_runscript
}
help(){
echo "I don't know if this is needed for it to work"
}
[root@arch usr]# cat /etc/initcpio/hooks/thunderbolt 
#!/usr/bin/ash
run_hook(){
echo 1 > /sys/bus/thunderbolt/devices/0-1/authorized
}

[root@arch usr]# 
[root@arch usr]# cat /etc/fstab 
# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
UUID=3ff5c47a-fda5-be42-b402-d6c4ddf8634f   /   ext4    rw,relatime 0 1
#/dev/nvme1n1p5         /           ext4        rw,relatime 0 1

UUID=8403-1904  /boot/grub/efi  vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
#/dev/nvme1n1p2         /boot/grub/efi  vfat        rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro    0 2

/swapfile               none        swap        defaults    0 0

[root@arch usr]# 

mkinitcpio -P