Changeset 1301
- Timestamp:
- 08/27/04 14:06:35 (9 years ago)
- File:
-
- 1 edited
-
trunk/debian/postinst (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/debian/postinst
r1298 r1301 4 4 configure) 5 5 6 # Configure alternc-slavedns 6 touch /etc/bind/slavedns.conf 7 # Configure alternc-slavedns (if an alternc is installed on this server ...) 8 if [ -f /usr/share/alternc/install/etc/bind/named.conf ] 9 then 10 11 if grep -q "include \"/etc/bind/slavedns.conf\";" /usr/share/alternc/install/etc/bind/named.conf 12 then 13 echo "Named for AlternC already configured ..." 14 else 15 echo "include \"/etc/bind/slavedns.conf\";" >>/usr/share/alternc/install/etc/bind/named.conf 16 fi 17 fi 7 18 # Configuring bind 8 19 if grep -q "include \"/etc/bind/slavedns.conf\";" /etc/bind/named.conf … … 11 22 else 12 23 echo "include \"/etc/bind/slavedns.conf\";" >>/etc/bind/named.conf 13 touch /etc/bind/slavedns.conf14 24 # Reloading bind : 15 25 if [ -e "/etc/init.d/bind" ]
Note: See TracChangeset
for help on using the changeset viewer.
