cupsd or cupsd.sh, that is the question

Duane Whitty duane at greenmeadow.ca
Tue Mar 28 07:13:57 UTC 2006


Jeremy Chadwick wrote:
> On Tue, Mar 28, 2006 at 08:54:19AM +0200, Fritz Heinrichmeyer wrote:
>   
>> Hello, i thought it is a convention to install boot scripts with ending 
>> .sh? At least cupsd is the first script i notice that does not follow 
>> this convention.
>>     
>
> (23:05:01 jdc at icarus) ~ $ uname -v
> FreeBSD 6.1-PRERELEASE #0: Tue Mar 14 00:05:31 PST 2006     root at icarus.home.lan:/usr/obj/usr/src/sys/ICARUS
> (23:05:04 jdc at icarus) ~ $ ls -l /usr/local/etc/rc.d
> total 32
> -r-xr-xr-x    1 root      wheel      4738  9 Mar 19:21 apache22.sh
> -r-xr-xr-x    1 root      wheel     16154  7 Mar 03:55 isc-dhcpd.sh
> -r-xr-xr-x    1 root      wheel      1659  9 Mar 01:07 mysql-server
> -r-xr-xr-x    1 root      wheel      1043  7 Mar 04:08 postfix
> -r-xr-xr-x    1 root      wheel      2734  7 Mar 04:32 samba.sh
> -r-xr-xr-x    1 root      wheel       890  7 Mar 03:59 smartd.sh
>
>   
This is interesting.  I'll have to watch out for this issue.  My setup 
is different.

dwpc@ /usr/local/etc/rc.d# uname -a
FreeBSD dwpc.dwlabs.ca 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Fri Mar 
24 19:34:58 AST 2006     
root at dwpc.dwlabs.ca:/usr/obj/usr/src/sys/DWPC-200603230410  i386

dwpc@ /usr/local/etc/rc.d# ll
total 40
-r-xr-xr-x  1 root  wheel   413 Feb 28 19:42 000.pkgtools.sh
-r-xr-xr-x  1 root  wheel   308 Mar  2 08:32 000.pth.sh
-r-xr-xr-x  1 root  wheel   472 Mar  1 22:33 001slpd.sh
-r-xr-xr-x  1 root  wheel  4738 Mar 22 05:39 apache22.sh
-r-xr-xr-x  1 root  wheel   508 Feb 28 23:15 cupsd.sh
-r-xr-xr-x  1 root  wheel   479 Mar  3 20:07 ffserver.sh
-r-xr-xr-x  1 root  wheel   544 Mar  1 04:18 genkdmconf.sh
-r-xr-xr-x  1 root  wheel    57 Mar  1 03:00 kdelibs.sh
-r-xr-xr-x  1 root  wheel   353 Mar  1 01:37 mdnsd.sh
-r-xr-xr-x  1 root  wheel   785 Mar  2 22:03 mdnsresponder.sh
-r-xr-xr-x  1 root  wheel  1659 Mar 22 00:03 mysql-server.sh
-r-xr-xr-x  1 root  wheel  2738 Mar  2 19:52 samba.sh
-r-xr-xr-x  1 root  wheel  2490 Mar 22 01:53 slapd.sh
-r-xr-xr-x  1 root  wheel   685 Mar 22 01:53 slurpd.sh
-r-xr-xr-x  1 root  wheel   777 Mar  1 07:44 snmpd.sh
-r-xr-xr-x  1 root  wheel   838 Mar  1 07:44 snmptrapd.sh

I wonder why the differences?

--Duane Whitty


More information about the freebsd-ports mailing list