fixed linux bootstrap issue & Updated many stuff based on upstream
fixed configuration issue on startup