DragonFly BSD
DragonFly submit List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

/etc/defaults/services and /etc/services


From: Joerg Anslik <joerg@xxxxxxxxx>
Date: Thu, 10 Feb 2005 23:17:09 +0100

Hi,

although there's an ongoing discussion about the general way of
updating system files, which will probably render my work useless,
here's the patch to have a not-to-be-edited /etc/defaults/services and
an optional /etc/services.

getservent() now first tries to find a matching protocol name/port
number in /etc/defaults/services, and, if no match was found, reads
lines form /etc/services (if it exists).

I also updated the getservent.5 man page to reflect these changes, but
there's carloads more in the repository. I did not make changes to
these files, since I'd first like to know if this
/etc/defaults/services stuff will be integrated or not. Once I get a
positive feedback, I'll update all the other man pages, etc.

The patch lives here:

http://bettlakenauszuzeln.magic-ceee.com/services.patch.gz


Enjoy

--j

-----------------------------------------------------
who | grep -i blonde | talk; cd ~; wine; talk; touch;
unzip; touch; strip; gasp; finger; gasp; mount;
fsck; more; yes; gasp; umount; make clean; sleep



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]