- Timestamp:
- Apr 7, 2010, 4:50:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2.0/nanobsd/nanobsd/files/usr/local/etc/rc.d/maradns
r7598 r7697 17 17 18 18 mara_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'` 20 20 sed -i .orig "s/\<internalif\>/$IP/g" /usr/local/etc/mararc 21 21 }
Note:
See TracChangeset
for help on using the changeset viewer.