- Timestamp:
- Oct 31, 2010, 4:25:27 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2.0/nanobsd/nanobsd/files/usr/local/etc/rc.d/maradns
r8036 r8601 19 19 mara_pre() { 20 20 IP=`ifconfig ${internalif} | awk '/inet/ { print $2 }'` 21 sed -i .orig 's/^\(ipv4_bind_addresses[\ \t=]*"\).*$/\1'${IP}' 21 sed -i .orig 's/^\(ipv4_bind_addresses[\ \t=]*"\).*$/\1'${IP}',127.0.0.1"/g' ${maradns_conf} 22 22 } 23 23
Note:
See TracChangeset
for help on using the changeset viewer.