fixed redirection error overwriting rc.conf
fixed output indentation
fixed redirection error overwriting rc.conf