linux_hardware script in lib