Changeset 8601 for 2.0


Ignore:
Timestamp:
Oct 31, 2010, 4:25:27 AM (14 years ago)
Author:
rick
Message:

Comma is the right syntax for binding on two interfaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2.0/nanobsd/nanobsd/files/usr/local/etc/rc.d/maradns

    r8036 r8601  
    1919mara_pre() {
    2020  IP=`ifconfig ${internalif} | awk '/inet/ { print $2 }'`
    21   sed -i .orig 's/^\(ipv4_bind_addresses[\ \t=]*"\).*$/\1'${IP}' 127.0.0.1"/g' ${maradns_conf}
     21  sed -i .orig 's/^\(ipv4_bind_addresses[\ \t=]*"\).*$/\1'${IP}',127.0.0.1"/g' ${maradns_conf}
    2222}
    2323
Note: See TracChangeset for help on using the changeset viewer.