When be exported gpioRI?

Maybe the safest way is to see if the path is generated after the commad before going to sleep mode