fix duplicated rc.local patching