setup inotify to notify events on signcfg/ and used select to check if there in input available