- cp_echo ""
- cp_echo "CN: All services were converted from $CONF file to separated configuration"
- cp_echo "CN: files located in /etc/xinetd.d/ directory."
-
- if [ -n "$inetd_compat" ]; then
- cp_echo "CN: Since -inetd_compat option was active, all services in $INETDCONF"
- cp_echo "CN: file were also moved to /etc/xinetd.d/ directory."
+ if egrep -q "^service[[:space:]]+" "$CONFTMP"; then
+ cp_echo "CN: All services were converted from $INETDCONF file to separated"
+ cp_echo "CN: configuration files located in /etc/xinetd.d/ directory."