rc.d duplication fixed