pkgsrc-Users archive

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

Re: Using CUPS



>   The rc.d scripts for packages need to be manually copied from
>   /usr/pkg/share/examples/rc.d/


(I am copy and pasting the following from a previous email:)

   If a package contains a rc.d script, it won't be copied into the 
   startup directory by default, but you can enable it, by adding the 
   option PKG_RCD_SCRIPTS=YES in /etc/mk.conf. (Also PKG_CONFIG needs to 
   be set to the default YES.) This will copy the scripts to the 
   ${RCD_SCRIPTS_DIR} (which defaults to /etc/rc.d) when a package is 
   installed, and it will automatically remove the scripts when the 
   package is deinstalled.

   Setting PKG_RCD_SCRIPTS=YES in the environment can also be used when
   installing binary packages using pkg_add(1) to copy the rc.d scripts
   into place.

Manually enabling the rc.d scripts may also be needed. I am not sure the 
best way to document this yet, unless we assume all support "rcvar".


 Jeremy C. Reed

echo ':6DB6=88>?;@69876tA=AC8BB5tA6487><' | tr '4-F' 'wu rofIn.lkigemca'



Home | Main Index | Thread Index | Old Index