Fix init scripts to use daemon function instead of su.