svnno****@sourc*****
svnno****@sourc*****
2008年 1月 17日 (木) 21:32:22 JST
Revision: 426 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=426 Author: tach Date: 2008-01-17 21:32:22 +0900 (Thu, 17 Jan 2008) Log Message: ----------- Add to load /etc/default/slash for slashd Modified Paths: -------------- slashjp/trunk/debian/changelog slashjp/trunk/debian/rules slashjp/trunk/debian/slash-backend.dirs slashjp/trunk/debian/slash-backend.init.d -------------- next part -------------- Modified: slashjp/trunk/debian/changelog =================================================================== --- slashjp/trunk/debian/changelog 2008-01-17 12:24:42 UTC (rev 425) +++ slashjp/trunk/debian/changelog 2008-01-17 12:32:22 UTC (rev 426) @@ -7,8 +7,9 @@ message_delivery.pl line 86. * Add logcheck ignore rules for slashd.log to slash-backend * Add to set nice value for slashd + * Add to load /etc/default/slash for slashd - -- Taku YASUI <tach****@osdn*****> Thu, 17 Jan 2008 21:24:00 +0900 + -- Taku YASUI <tach****@osdn*****> Thu, 17 Jan 2008 21:26:29 +0900 slash (2.5.0.188-6) unstable; urgency=low Modified: slashjp/trunk/debian/rules =================================================================== --- slashjp/trunk/debian/rules 2008-01-17 12:24:42 UTC (rev 425) +++ slashjp/trunk/debian/rules 2008-01-17 12:32:22 UTC (rev 426) @@ -70,3 +70,4 @@ for f in `find $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/$(cdbs_curpkg)/utils -type f`; do \ perl -i -npe '$$.==1 and m|#!(.*/)?perl( .*)?$$| and $$_="#!/usr/bin/perl$2\n"' $$f; \ done + touch $(CURDIR)/debian/$(cdbs_curpkg)/etc/default/slash Modified: slashjp/trunk/debian/slash-backend.dirs =================================================================== --- slashjp/trunk/debian/slash-backend.dirs 2008-01-17 12:24:42 UTC (rev 425) +++ slashjp/trunk/debian/slash-backend.dirs 2008-01-17 12:32:22 UTC (rev 426) @@ -1,2 +1,3 @@ +etc/default usr/bin usr/sbin Modified: slashjp/trunk/debian/slash-backend.init.d =================================================================== --- slashjp/trunk/debian/slash-backend.init.d 2008-01-17 12:24:42 UTC (rev 425) +++ slashjp/trunk/debian/slash-backend.init.d 2008-01-17 12:32:22 UTC (rev 426) @@ -25,6 +25,9 @@ TZ="GMT"; export TZ; +# load default file +test -f /etc/default/slash && . /etc/default/slash + WHICH_CAT=`which cat`; WHICH_CUT=`which cut`; WHICH_PS=`which ps`;