Changeset 7697 for 2.0


Ignore:
Timestamp:
Apr 7, 2010, 4:50:29 PM (15 years ago)
Author:
richardvm
Message:

Updated interface, now fetched from genesis

File:
1 edited

Legend:

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

    r7598 r7697  
    1717
    1818mara_pre() {
    19   IP=`ifconfig sis1 | grep 'inet' | awk '{ print $2 }' | sed 's/\./\\\./g'`
     19  IP=`ifconfig ${internalif} | grep 'inet' | awk '{ print $2 }' | sed 's/\./\\\./g'`
    2020  sed -i .orig "s/\<internalif\>/$IP/g" /usr/local/etc/mararc
    2121}
Note: See TracChangeset for help on using the changeset viewer.