echo 
echo "*** Configuring services to autostart on boot ***"
echo 

list='apiservice cacher jvb kamailio memcached memcached2 monit munin-node mysqld nginx ntpd pod-facade prosody rtpengine syslog-ng turnserver uniserver vsftpd webmin'
for s in $list; do echo enable [$s] service; chkconfig --level 345 $s on; done 

list='netfs nfs nfslock ip6tables heartbeat drbd avahi-daemon messagebus httpd iscsi iscsd mdmonitor rdma abrt-ccpp abrtd kdump udev-post'
for s in $list; do [ -e /etc/init.d/$s ] && (chkconfig --level 345 $s off; /etc/init.d/$s stop); done 

#if [ "${WBMTYPE}" = "st" ]; then
#list='avahi-daemon messagebus'
#for s in $list; do chkconfig --level 345 $s on; done 
#fi

