'cdemud' init script uses bashisms while OpenRC requires init.d scripts to be POSIX shell compliant. The bashism causing trouble is (useless) use of '==' test operator in depend(), which should be replaced by '='.
Thank you Michał, fixed without revision bump - those who need this notice change, while most gentoo systems have bash installed and people will never see the difference.