[startup] support mac