Zitat von Dirk Nehring <[EMAIL PROTECTED]>:

> On Wed, May 23, 2007 at 04:37:55PM +0200, [EMAIL PROTECTED] wrote:
>> Author: tg
>> Date: 2007-05-23 16:37:54 +0200 (Wed, 23 May 2007)
>> New Revision: 2634
>>
>> Modified:
>>    trunk/freewrt/package/openntpd/Makefile
>> Log:
>> remove useless +x bit
>>
>> Modified: trunk/freewrt/package/openntpd/Makefile
>> ===================================================================
>> --- trunk/freewrt/package/openntpd/Makefile  2007-05-23 14:34:07 UTC  
>>  (rev 2633)
>> +++ trunk/freewrt/package/openntpd/Makefile  2007-05-23 14:37:54 UTC  
>>  (rev 2634)
>> @@ -30,7 +30,7 @@
>>      ${INSTALL_DIR} ${IDIR_OPENNTPD}/etc
>>      ${INSTALL_DATA} ./files/ntpd.conf ${IDIR_OPENNTPD}/etc/
>>      ${INSTALL_DIR} ${IDIR_OPENNTPD}/etc/init.d
>> -    ${INSTALL_BIN} ./files/ntpd.init ${IDIR_OPENNTPD}/etc/init.d/ntpd
>> +    ${INSTALL_DATA} ./files/ntpd.init ${IDIR_OPENNTPD}/etc/init.d/ntpd
>>      ${INSTALL_DIR} ${IDIR_OPENNTPD}/usr/sbin/
>>      ${INSTALL_BIN} ${WRKBUILD}/ntpd ${IDIR_OPENNTPD}/usr/sbin/
>>      ${INSTALL_DIR} ${IDIR_OPENNTPD}/etc/ppp/ip-up.d
>
> Mmmh, I found the +x bit very useful, since I am using the scripts
> directly. What is the reason to use "/bin/sh" explicitly? All
> distributions I am aware of are making startscripts executable.
>
> Dirk

Dirk is right...

Thorsten, please don't remove the executable bit from files in  
/etc/init.d/, because the most people are used to call the init  
scripts directly without using /bin/sh. It also might cause trouble if  
you remove the executable bit, because maybe some scripts call the  
init.d script without using /bin/sh either.

--Ralph

_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to