Package dnsmasq: Скрипты

Post install

/usr/sbin/post_service dnsmasq
Pre install

1
2
3
4
5
6
7
8
9
# Upgrade configuration from previous versions
if test -e /etc/sysconfig/dnsmasq; then
if egrep -q '^[^#]*ALL *=' /etc/sysconfig/dnsmasq; then
    if ! egrep -q '^[^#]*ALL_DEV *=' /etc/sysconfig/dnsmasq; then
	echo 'NOTE: You should put ALL_DEV=<interface> to /etc/sysconfig/dnsmasq'
	echo '      for keeping DHCP broadcasts mode.'
    fi
fi
fi
Pre uninstall

/usr/sbin/preun_service dnsmasq