/etc/defaults/services and /etc/services

看板DFBSD_submit作者時間21年前 (2005/02/11 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/11 (看更多)
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
文章代碼(AID): #122-3c00 (DFBSD_submit)
討論串 (同標題文章)
文章代碼(AID): #122-3c00 (DFBSD_submit)