Fixes #6311: cp the init.d file locally instead of remote

王权利请求将github/fork/jvanbaarsen/fix-6311合并到master

Created by: jvanbaarsen

cp the init.d file locally instead of remote

合并请求报告