count drives by type, ignoring serial number
[sysadmin-cookbook] / recepies / pxe / 2.enable-conf-dir.sh
1 #!/bin/sh -x
2
3 grep '^conf-dif=/etc/dnsmasq.d' /etc/dnsmasq.conf || ( echo 'conf-dir=/etc/dnsmasq.d' >> /etc/dnsmasq.conf && /etc/init.d/dnsmasq restart )