init multi OS support