How to chkconfig off and on Multiple services with a bash script
This has more applications than with just the chkconfig command. However, I found this script to be useful and wanted to add it to my database of useful scripts. This script will chkconfig off the services listed in the services variable. #!/bin/bash # chkconfig-services-off.sh # # Add services here services=”vsftpd yum-updatesd vncserver sendmail” arr=$(echo $services | tr ” ” “\n”)…
Read More »