This should have been udev action instead of some weird boot time scripting