wok-6.x diff bind/receipt @ rev 17359
Add asterisk-googletranslate
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 18 21:51:18 2014 +0100 (2014-11-18) |
parents | 31615bc6828a |
children | ea94058cfe7f |
line diff
1.1 --- a/bind/receipt Fri Jan 24 07:30:06 2014 +0000 1.2 +++ b/bind/receipt Tue Nov 18 21:51:18 2014 +0100 1.3 @@ -38,3 +38,11 @@ 1.4 cp -a $stuff/etc $fs 1.5 } 1.6 1.7 +# Post message when installing. 1.8 +post_install() 1.9 +{ 1.10 + localnets="192.168.0.0/16; 127.0.0.1;" 1.11 + grep -qs allow-recursion $1/etc/bind/named.conf.options || 1.12 + sed -i "s/.*directory.*/\\tallow-recursion { $localnets };\\n&/" \ 1.13 + $1/etc/bind/named.conf.options 1.14 +}