unified init script for linux